code: def dvc_walk(
      top,
      topdown=True,
      onerror=None,
      followlinks=False,
      ignore_file_handler=None,
  ):
      
      ignore_filter = None
      if topdown:
          from dvc.ignore import DvcIgnoreFilter
  
          ignore_filter = DvcIgnoreFilter(
              top, ignore_file_handler=ignore_file_handler
          )
  
      for root, dirs, files in os.walk(
          top, topdown=topdown, onerror=onerror, followlinks=followlinks
      ):
  
          if ignore_filter:
              dirs[:], files[:] = ignore_filter(root, dirs, files)
  
          yield root, dirs, files
docs: Proxy for `os.walk` directory tree generator.
      Utilizes DvcIgnoreFilter functionality.