| Haskell Hierarchical Libraries (unix package) | Contents | Index
System.Posix.Directory |
Portability | non-portable (requires POSIX)
Stability | provisional
Maintainer | libraries@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