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

Safe HaskellSafe
LanguageHaskell98

Data.Streaming.Filesystem

Description

Streaming functions for interacting with the filesystem.

Documentation

openDirStream :: FilePath -> IO DirStream #

readDirStream :: DirStream -> IO (Maybe FilePath) Source #

data FileType Source #

Constructors

FTFile 
FTFileSym

symlink to file

FTDirectory 
FTDirectorySym

symlink to a directory

FTOther 
Instances
Eq FileType Source # 
Instance details

Defined in Data.Streaming.Filesystem

Methods

(==) :: FileType -> FileType -> Bool

(/=) :: FileType -> FileType -> Bool

Ord FileType Source # 
Instance details

Defined in Data.Streaming.Filesystem

Methods

compare :: FileType -> FileType -> Ordering

(<) :: FileType -> FileType -> Bool

(<=) :: FileType -> FileType -> Bool

(>) :: FileType -> FileType -> Bool

(>=) :: FileType -> FileType -> Bool

max :: FileType -> FileType -> FileType

min :: FileType -> FileType -> FileType

Read FileType Source # 
Instance details

Defined in Data.Streaming.Filesystem

Methods

readsPrec :: Int -> ReadS FileType

readList :: ReadS [FileType]

readPrec :: ReadPrec FileType

readListPrec :: ReadPrec [FileType]

Show FileType Source # 
Instance details

Defined in Data.Streaming.Filesystem

Methods

showsPrec :: Int -> FileType -> ShowS

show :: FileType -> String

showList :: [FileType] -> ShowS

getFileType :: FilePath -> IO FileType Source #