dyre-0.8.12: Dynamic reconfiguration in Haskell
Config.Dyre.Paths
Synopsis
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.