Safe Haskell | None |
---|
- getDirectoryContents :: RawFilePath -> IO [(DirType, RawFilePath)]
- allDirectoryContents :: RawFilePath -> IO [RawFilePath]
- allDirectoryContents' :: RawFilePath -> IO [RawFilePath]
- traverseDirectory :: (s -> RawFilePath -> IO s) -> s -> RawFilePath -> IO s
- openAt :: Fd -> RawFilePath -> IO Fd
- fdOpendir :: Fd -> IO DirStream
- readDirEnt :: DirStream -> IO (DirType, RawFilePath)
- packDirStream :: Ptr CDir -> DirStream
- unpackDirStream :: DirStream -> Ptr CDir
- realpath :: RawFilePath -> IO RawFilePath
Documentation
getDirectoryContents :: RawFilePath -> IO [(DirType, RawFilePath)]Source
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.
traverseDirectory :: (s -> RawFilePath -> IO s) -> s -> RawFilePath -> IO sSource
readDirEnt :: DirStream -> IO (DirType, RawFilePath)Source
packDirStream :: Ptr CDir -> DirStreamSource
unpackDirStream :: DirStream -> Ptr CDirSource
realpath :: RawFilePath -> IO RawFilePathSource
return the canonicalized absolute pathname
like canonicalizePath, but uses realpath(3)