walk_infos#
- barecat.Index.walk_infos(rootitem, bufsize=32)[source]#
Walk over the directory tree starting from a directory.
- Parameters:
- Returns:
An iterator over tuples of directory info objects, subdirectory info objects, and file info objects.
- The tuples are in the format
(dirinfo, subdirs, files), where dirinfois the directory info object.subdirsis a list of subdirectory info objects.filesis a list of file info objects.
- The tuples are in the format
- Return type:
Iterable[tuple[barecat.core.types.BarecatDirInfo, Iterable[barecat.core.types.BarecatDirInfo], Iterable[barecat.core.types.BarecatFileInfo]]]