CabalGild.Class.MonadWalk
class Monad m => MonadWalk m where Source #
A Monad that can also walk the file system.
Monad
Methods
walk :: FilePath -> m [FilePath] Source #
Lists all files in the given directory and its subdirectories recursively.
Uses listDirectoryRecursively.
listDirectoryRecursively
Defined in CabalGild.Class.MonadWalk
walk :: FilePath -> IO [FilePath] Source #
listDirectoryRecursively :: FilePath -> IO [FilePath] Source #
Lists all files in the given directory and its subdirectories recursively. The order is not guaranteed and may change between different calls. It's also not specified if the results are breadth-first or depth-first.