Documentation
newtype FilePather a Source
filePather :: (FilePath -> a) -> FilePather aSource
always' :: FilePather (a -> Bool)Source
never' :: FilePather (a -> Bool)Source
extension' :: FilePather (a -> FilePath)Source
directory' :: FilePather (a -> FilePath)Source
hasExtension' :: FilePather (a -> Bool)Source
splitExtension' :: FilePather (a -> (String, String))Source
splitDirectories' :: FilePather (a -> [FilePath])Source
hasTrailingPathSeparator' :: FilePather (a -> Bool)Source
fileName' :: FilePather (a -> FilePath)Source
baseName' :: FilePather (a -> FilePath)Source
normalise' :: FilePather (a -> FilePath)Source
makeValid' :: FilePather (a -> FilePath)Source
isRelative' :: FilePather (a -> Bool)Source
isAbsolute' :: FilePather (a -> Bool)Source
isValid' :: FilePather (a -> Bool)Source
(===>) :: (Applicative f1, Applicative f2) => f1 (f2 Bool) -> f1 (f2 Bool) -> f1 (f2 Bool)Source
(/==>) :: (Applicative f1, Applicative f2) => f1 (f2 Bool) -> f1 (f2 Bool) -> f1 (f2 Bool)Source
(?&&?) :: (Applicative f1, Applicative f2) => f1 (f2 Bool) -> f1 (f2 Bool) -> f1 (f2 Bool)Source
(?||?) :: (Applicative f1, Applicative f2) => f1 (f2 Bool) -> f1 (f2 Bool) -> f1 (f2 Bool)Source
type RecursePredicate = FilePather BoolSource
type FilterPredicate = FilePather (FileType -> Bool)Source
isFile :: Applicative f => f (FileType -> Bool)Source
isDirectory :: Applicative f => f (FileType -> Bool)Source
isUnknown :: Applicative f => f (FileType -> Bool)Source
find :: RecursePredicate -> FilterPredicate -> FilePath -> IO [FilePath]Source