getDirectoryContents is:exact
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.
Get the contents of a directory. The result will be sorted, and will
not contain the entries
. or
.. (unlike the standard
Haskell version). The resulting paths will be relative to the first
argument. The result itself is tracked as a dependency, but the files
in the result are not. If the list of files changes in subsequent
builds any rule calling it will rerun.
It is usually simpler to call either
getDirectoryFiles or
getDirectoryDirs.
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 "..".