code: def find(self, fs: "FileSystem", path: "AnyFSPath", **kwargs):
      if fs.protocol == Schemes.LOCAL:
          for root, _, files in self.walk(fs, path, **kwargs):
              for file in files:
                  # NOTE: os.path.join is ~5.5 times slower
                  yield f"{root}{fs.sep}{file}"
      else:
          yield from fs.find(path)
  
imports: import os
  import re
  from collections import namedtuple
  from itertools import chain, groupby, takewhile
  from typing import TYPE_CHECKING, List, Optional
  from pathspec.patterns import GitWildMatchPattern
  from pathspec.util import normalize_file
  from pygtrie import Trie
  from dvc.fs import Schemes, localfs
  from dvc.log import logger
  from dvc.pathspec_math import PatternInfo, merge_patterns
label_desc: Use image node_id 9 for calling the DvcIgnoreFilter obj's underlying member method code with example usage: obj.find(fs, path) without return types