hfutils.utils.walk
walk_files
- hfutils.utils.walk.walk_files(directory: str) Iterator[str] [source]
Recursively walk through a directory and yield relative paths of all files.
- Parameters:
directory (str) – The root directory to start walking.
- Returns:
An iterator that yields relative paths of all files in the directory.
- Return type:
Iterator[str]