machines-directory-0.2.1.2: Directory (system) utilities for the machines library
Safe HaskellNone
LanguageHaskell2010

System.Directory.Machine

Synopsis

Documentation

directoryWalk :: ProcessT IO FilePath FilePath Source #

Recursively (breadth-first) walk thru the directory structure.

>>> runT (files <~ directoryWalk <~ source ["."])
["./.gitignore",...

directoryWalk' :: (FilePath -> Bool) -> ProcessT IO FilePath FilePath Source #

A variant of directoryWalk with a predicate whether to descend into particular directory.

directoryWalk' (not . isSuffixOf ".git")

Since: 0.2.1.0