Haskell Hierarchical Libraries (unix package)ContentsIndex
System.Posix.Directory
Portabilitynon-portable (requires POSIX)
Stabilityprovisional
Maintainerlibraries@haskell.org
Contents
Creating and removing directories
Reading directories
The working dirctory
Description
POSIX directory support
Synopsis
createDirectory :: FilePath -> FileMode -> IO ()
removeDirectory
data DirStream
openDirStream :: FilePath -> IO DirStream
readDirStream :: DirStream -> IO FilePath
rewindDirStream :: DirStream -> IO ()
closeDirStream :: DirStream -> IO ()
data DirStreamOffset
tellDirStream :: DirStream -> IO DirStreamOffset
seekDirStream :: DirStream -> DirStreamOffset -> IO ()
getWorkingDirectory :: IO FilePath
changeWorkingDirectory :: FilePath -> IO ()
changeWorkingDirectoryFd :: Fd -> IO ()
Creating and removing directories
createDirectory :: FilePath -> FileMode -> IO ()
removeDirectory
Reading directories
data DirStream
openDirStream :: FilePath -> IO DirStream
readDirStream :: DirStream -> IO FilePath
rewindDirStream :: DirStream -> IO ()
closeDirStream :: DirStream -> IO ()
data DirStreamOffset
tellDirStream :: DirStream -> IO DirStreamOffset
seekDirStream :: DirStream -> DirStreamOffset -> IO ()
The working dirctory
getWorkingDirectory :: IO FilePath
changeWorkingDirectory :: FilePath -> IO ()
changeWorkingDirectoryFd :: Fd -> IO ()
Produced by Haddock version 0.7