openfl.interface.cli_helper.print_tree
- openfl.interface.cli_helper.print_tree(dir_path: Path, level: int = -1, limit_to_directories: bool = False, length_limit: int = 1000)
Given a directory Path object print a visual tree structure.
- Parameters:
dir_path (Path) – The directory path.
level (int, optional) – The level of the directory. Defaults to -1.
limit_to_directories (bool, optional) – Limit to directories. Defaults to False.
length_limit (int, optional) – The length limit. Defaults to 1000.