getDirectoryContents -package:shake

Similar to listDirectory, but always includes the special entries (. and ..). (This applies to Windows as well.) The operation may fail with the same exceptions as listDirectory.
Similar to listDirectory, but always includes the special entries (. and ..). (This applies to Windows as well.) The operation may fail with the same exceptions as listDirectory.
Retrieve the contents of a directory without any directory prefixes. In contrast to getDirectoryContents, exclude special directories "." and "..".
Return the immediate children of a directory Filters out "." and "..".
List all the files in a directory and all subdirectories. The order places files in sub-directories after all the files in their parent directories. The list is generated lazily so is not well defined if the source directory structure changes before the list is used.
Recursively list all the files and directories in a directory and all subdirectories. The directory structure is traversed depth-first. The result is generated lazily so is not well defined if the source directory structure changes before the list is fully consumed. Symlinks within directory structure may cause result to be infinitely long.
Recursively list all the files and directories that satisfy given predicate in a directory and all subdirectories. Descending into some subdirectories may be avoided by filtering them out with a visiting predicate. Not visited directory entry may still be reported depending on the collection predicate. The directory structure is traversed depth-first. The result is generated lazily so is not well defined if the source directory structure changes before the list is fully consumed. Symlinks within directory structure may cause result to be infinitely long, but they can be filtered out with a suitable directory visiting predicate.
Get directory contents minus dot files.