Walks through all the entries in a directory, and applies the given visitor function to all entries.
The directory to walk through.
A visitor delegate function to apply to all entries discovered.
Whether to recursively walk through subdirectories.
How deep to search recursively. -1 indicates infinite recursion.
See Implementation
Walks through all the entries in a directory, and applies the given visitor function to all entries.