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

Data.Conduit.Filesystem

Synopsis

Documentation

traverseSource

Arguments

:: ResourceIO 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 :: ResourceIO m => FilePath -> Source m ByteStringSource

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

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

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