streaming-commons-0.1.4.2: Common lower-level functions needed by various streaming data libraries

Safe HaskellSafe-Inferred

Data.Streaming.Filesystem

Description

Streaming functions for interacting with the filesystem.

Synopsis

Documentation

data DirStream

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.

data FileType Source

Constructors

FTFile 
FTFileSym

symlink to file

FTDirectory 
FTDirectorySym

symlink to a directory

FTOther