code: def _iter_walk(
          self,
          fs,  # type: FS
          path,  # type: Text
          namespaces=None,  # type: Optional[Collection[Text]]
      ):
          # type: (...) -> Iterator[Tuple[Text, Optional[Info]]]
          
          if self.search == "breadth":
              return self._walk_breadth(fs, path, namespaces=namespaces)
          else:
              return self._walk_depth(fs, path, namespaces=namespaces)
docs: Get the walk generator.