The behavior if base_dir isn't found in the file system. If false, an error is returned. If true, an empty selection is returned.
base_dir
The directory in which to select files. If the path exists but doesn't point to a directory, this should be an error.
The maximum number of subdirectories to recurse into.
Whether to recurse into subdirectories.
The behavior if
base_dir
isn't found in the file system. If false, an error is returned. If true, an empty selection is returned.