Safe Haskell | None |
---|---|
Language | Haskell98 |
Config.Dyre.Paths
Synopsis
- getPaths :: Params c -> IO (FilePath, FilePath, FilePath, FilePath, FilePath)
- maybeModTime :: FilePath -> IO (Maybe UTCTime)
Documentation
getPaths :: Params c -> IO (FilePath, FilePath, FilePath, FilePath, FilePath) Source #
Return the paths to, respectively, the current binary, the custom binary, the config file, and the cache directory.
maybeModTime :: FilePath -> IO (Maybe UTCTime) Source #
Check if a file exists. If it exists, return Just the modification time. If it doesn't exist, return Nothing.