mne_bids.print_dir_tree¶
-
mne_bids.
print_dir_tree
(folder, max_depth=None, return_str=False)[source]¶ Recursively print a directory tree.
- Parameters
- folder
str
|pathlib.Path
The folder for which to print the directory tree.
- max_depth
int
The maximum depth into which to descend recursively for printing the directory tree.
- return_strbool
If
True
, return the directory tree as a str instead of printing it.
- folder
- Returns