Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Streaming functions for interacting with the filesystem.
Synopsis
- data DirStream
- openDirStream :: FilePath -> IO DirStream
- readDirStream :: DirStream -> IO (Maybe FilePath)
- closeDirStream :: DirStream -> IO ()
- data FileType
- getFileType :: FilePath -> IO FileType
Documentation
openDirStream :: FilePath -> IO DirStream #
openDirStream dir
calls opendir
to obtain a
directory stream for dir
.
closeDirStream :: DirStream -> IO () #
closeDirStream dp
calls closedir
to close
the directory stream dp
.