|
path is the path to a folder.
level determines how deep the traversal goes:
If level = 1, file.foldersInFolder doesn't go into any sub-folders.
If level = 2, it also counts the folders in any sub-folders.
If level = infinity, it counts folders at all levels, including all nested sub-folders.
|