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.