813
818
The data yielded is of the form:
814
819
[(relpath, basename, kind, lstat, path_from_top), ...]
816
824
:return: an iterator over the dirs.
820
828
_directory = _directory_kind
822
pending = [("", "", _directory, None, top)]
830
pending = [(prefix, "", _directory, None, top)]
825
833
currentdir = pending.pop()