FileSystem-1.0.0: File system data structure and monad transformer.

System.FileSystem.Across

Synopsis

Documentation

foldFileSystemSource

Arguments

:: FilePath

Root path

-> Either (FilePath -> t -> Either DirName File -> t) (FilePath -> Either DirName File -> t -> t)

Folding operator, with current FilePath reference

-> t

The initial value

-> FileSystem

The FileSystem to fold

-> t

Result

Folding function for FileSystems.

foldFiles :: Either (t -> File -> t) (File -> t -> t) -> t -> FileSystem -> tSource

An usage of foldFileSystem, folding only Files, ignoring the FilePath where they are.

mapFileSystem :: InApp DirName -> InApp File -> InApp FileSystemSource

Map a pair of applications (one over DirName, and the other over File) through a FileSystem.