posix-paths-0.1.1.0: POSIX filepath/directory functionality

Safe HaskellNone

System.Posix.Directory.Traversals

Synopsis

Documentation

allDirectoryContents :: RawFilePath -> IO [RawFilePath]Source

Get all files from a directory and its subdirectories.

Upon entering a directory, allDirectoryContents will get all entries strictly. However the returned list is lazy in that directories will only be accessed on demand.

allDirectoryContents' :: RawFilePath -> IO [RawFilePath]Source

Get all files from a directory and its subdirectories strictly.

realpath :: RawFilePath -> IO RawFilePathSource

return the canonicalized absolute pathname

like canonicalizePath, but uses realpath(3)