Safe Haskell | Safe-Inferred |
---|
- class Find f where
- find :: FilterPredicateT f -> RecursePredicateT f -> FilePath -> IO [FindR]
- findHere :: FilterPredicateT f -> RecursePredicateT f -> IO [FindR]
- findp :: FilterPredicateT f -> RecursePredicateT f -> FilePath -> IO [FilePath]
- findpHere :: FilterPredicateT f -> RecursePredicateT f -> IO [FilePath]
- findi :: FilterPredicate -> RecursePredicate -> FilePath -> IO [FindR]
- findpi :: FilterPredicate -> RecursePredicate -> FilePath -> IO [FilePath]
- data FindR
- foundR :: FilePath -> FileType -> FindR
- dropR :: FilePath -> FileType -> FindR
- recurseR :: FilePath -> FindR
- noRecurseR :: FilePath -> FindR
- foundL :: PartialLens FindR (FilePath, FileType)
- dropL :: PartialLens FindR (FilePath, FileType)
- recurseL :: PartialLens FindR FilePath
- noRecurseL :: PartialLens FindR FilePath
Documentation
find :: FilterPredicateT f -> RecursePredicateT f -> FilePath -> IO [FindR]Source
Finds all files using the given recurse predicate and filter predicate in the given file path.
findHere :: FilterPredicateT f -> RecursePredicateT f -> IO [FindR]Source
Find files in the current directory.
findp :: FilterPredicateT f -> RecursePredicateT f -> FilePath -> IO [FilePath]Source
Finds all files using the given recurse predicate and filter predicate in the given file path.
findpHere :: FilterPredicateT f -> RecursePredicateT f -> IO [FilePath]Source
Find files in the current directory.
findi :: FilterPredicate -> RecursePredicate -> FilePath -> IO [FindR]Source
findpi :: FilterPredicate -> RecursePredicate -> FilePath -> IO [FilePath]Source
The results of a path find. One of
-
found
with the file path name and file type. -
drop
with the file path name and file type. -
recurse
with the file path (the file type is always directory). -
no-recurse
with the file path (the file type is always directory).
noRecurseR :: FilePath -> FindRSource