System.File.Tree

Directory tree structure

data FSTree

mkFSTree

type FSForest

Generic rose trees

data Tree a

type Forest a

Overloaded tree lenses

class TreeLens t a

Retrieve directory trees from the filesystem

getDirectory

getDirectory'

IO operations on directory trees

copy

copyTo

copyTo_

move

moveTo

moveTo_

mergeInto

mergeInto_

remove

remove

tryRemove

tryRemoveWith

Operations on directory trees

basic operations

pop

pop_

flatten

flattenPostOrder

levels

map over subtrees

map

mapM

mapM_

find subtrees

find

findM

filter subtrees

filter

filterM

useful predicates

isFile

isDir

isSymLink

isSymDir

isSymFile

isRealFile

isRealDir

extract subtrees

extract

extractM

truncate tree to a maximum level

truncateAt

zip with destination tree

zipWithDest

zipWithDestM

zipWithDestM_