dyre-0.8.2: Dynamic reconfiguration in Haskell

Config.Dyre.Paths

Synopsis

Documentation

getPaths :: Params c -> IO (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 ClockTime)Source

Check if a file exists. If it exists, return Just the modification time. If it doesn't exist, return Nothing.