Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Language.Fortran.Util.Files
Synopsis
- flexReadFile :: FilePath -> IO ByteString
- runCPP :: Maybe String -> FilePath -> IO ByteString
- getDirContents :: FilePath -> IO [FilePath]
- rGetDirContents :: FilePath -> IO [FilePath]
- expandDirs :: [FilePath] -> IO [FilePath]
- listFortranFiles :: FilePath -> IO [FilePath]
- listDirectoryRecursively :: FilePath -> IO [FilePath]
Documentation
flexReadFile :: FilePath -> IO ByteString Source #
Obtain a UTF-8 safe ByteString
representation of a file's contents.
Invalid UTF-8 is replaced with the space character.
runCPP :: Maybe String -> FilePath -> IO ByteString Source #
Run the C Pre Processor over the file before reading into a bytestring
getDirContents :: FilePath -> IO [FilePath] Source #
List files in directory, with the directory prepended to each entry.
expandDirs :: [FilePath] -> IO [FilePath] Source #
Expand all paths that are directories into a list of Fortran files from a recursive directory listing.