This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def deep_ls(path: str, max_depth=1, reverse=False, key=None, keep_hidden=False): | |
"""List all files in base path recursively. | |
List all files and folders in specified path and subfolders within maximum recursion depth. | |
Parameters | |
---------- | |
path : str | |
The path of the folder from which files are listed | |
max_depth : int |