data_base
❭ isf_data_base
❭ ISFDataBase
❭ ls
ISFDataBase.ls¶
-
data_base.isf_data_base.ISFDataBase.ls(depth=
0
, max_depth=2
, max_lines=20
, all_files=False
, max_lines_per_key=3
, color=True
)¶ Prints out the content of the database in a tree structure.
In addition to simply printing it out, this method allows to specify how the tree should look.
- Parameters:¶
max_depth (int, optional) – How deep you want the filestructure to be. Defaults to 2.
max_lines (int, optional) – How long you want your total filelist to be. Defaults to 20.
max_lines_per_key (int, optional) – How many lines to print per key. Useful to limit visual output of subdatabases. Defaults to 3.
all_files (bool, optional) – Whether to print all files (including e.g.
Loader.json
), or only keys. Defaults to False.
- Returns:¶
None