filesystem-conduit-0.4.0: Use system-filepath data types with conduits.

Safe HaskellSafe-Infered






:: MonadIO m 
=> Bool

Follow directory symlinks (only used on POSIX platforms)

-> FilePath

Root directory

-> Source m FilePath 

Starting at some root directory, traverse the filesystem and enumerate every file (or symlink to a file) found.

Note: the option of whether to follow symlinks is currently only checked on POSIX platforms, as the Win32 package does not support querying symlink status. On Windows, symlinks will always be followed.

sourceFile :: MonadResource m => FilePath -> Source m ByteStringSource

Same as sourceFile, but uses system-filepath's FilePath type.

sinkFile :: MonadResource m => FilePath -> Sink ByteString m ()Source

Same as sinkFile, but uses system-filepath's FilePath type.