dir-traverse-0.2.3.0: Simple directory traversal library

Safe HaskellNone
LanguageHaskell2010

System.Directory.Recursive

Synopsis

Documentation

getDirRecursive :: FilePath -> IO [FilePath] Source #

Recursively get all files and subdirectories in the given directory.

getSubdirsRecursive :: FilePath -> IO [FilePath] Source #

Recursively get all subdirectories in the given directory.

Since: 0.2.1.0

getFilesRecursive :: FilePath -> IO [FilePath] Source #

Recursively get all files in the given directory.

Since: 0.2.3.0

getDirFiltered Source #

Arguments

:: (FilePath -> IO Bool)

Filepath filter

-> FilePath 
-> IO [FilePath] 

Recursively get all files and subdirectories in the given directory that satisfy the given predicate. Note that the content of subdirectories not matching the filter is ignored. In particular, that means something like getDirFiltered doesFileExist will not recursively return all files.

Since: 0.2.2.0