Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,7 @@ def inspect_directory(directory: str, prefix: str = '') -> str:
|
|
25 |
|
26 |
Args:
|
27 |
directory: The path to the directory to inspect.
|
|
|
28 |
"""
|
29 |
tree_str = ''
|
30 |
contents = os.listdir(directory)
|
|
|
25 |
|
26 |
Args:
|
27 |
directory: The path to the directory to inspect.
|
28 |
+
prefix: Optional argument defaulting to '', used for calling the function recursively.
|
29 |
"""
|
30 |
tree_str = ''
|
31 |
contents = os.listdir(directory)
|