Manage all file operations like listing files with includes and exclude patterns and file filtering
- listModifiedAndCreatedFiles :: [FileListenInfo] -> [FileInfo] -> IO ([FileInfo], [FileInfo])
- listFiles :: FileListenInfo -> IO [FilePath]
- getCurrentFpCl :: FileListenInfo -> IO [FileInfo]
- recurseMultipleListFiles :: [FileListenInfo] -> IO [FilePath]
- recurseListFiles :: FileListenInfo -> IO [FilePath]
- isFileContainingMain :: FilePath -> IO Bool
- isFileContainingTH :: FilePath -> IO Bool
- defaultHaskellPatterns :: [String]
- defaultExclude :: [String]
List files functions
listModifiedAndCreatedFiles :: [FileListenInfo] -> [FileInfo] -> IO ([FileInfo], [FileInfo])Source
Get the tuples of (newFiles,modifiedFiles) from given list of directory
listFiles :: FileListenInfo -> IO [FilePath]Source
List files in the given directory Files matching one regexp in the ignore argument are excluded
getCurrentFpCl :: FileListenInfo -> IO [FileInfo]Source
Get the list of FileInfo of the given directory
recurseListFiles :: FileListenInfo -> IO [FilePath]Source
Recursively list all files All non matching files are excluded
Test file property
Default patterns
defaultHaskellPatterns :: [String]Source
Default haskell file pattern : *.hs
defaultExclude :: [String]Source
Default exclude pattern : Setup.hs