Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
distProjectCacheDirectory :: DistDirLayout -> FilePathcabal-install Distribution.Client.DistDirLayout No documentation available.
distProjectCacheFile :: DistDirLayout -> String -> FilePathcabal-install Distribution.Client.DistDirLayout The location for project-wide cache files (e.g. state used in incremental rebuilds).
MonitorCorruptCache :: MonitorChangedReason acabal-install Distribution.Client.FileMonitor There was existing state, but we could not read it. This typically happens when the code has changed compared to an existing FileMonitor cache file and type of the input value or cached value has changed such that we cannot decode the values. This is completely benign as we can treat is just as if there were no cache file and re-run.
MonitorCorruptCache :: MonitorChangedReason acabal-install Distribution.Client.ProjectBuilding There was existing state, but we could not read it. This typically happens when the code has changed compared to an existing FileMonitor cache file and type of the input value or cached value has changed such that we cannot decode the values. This is completely benign as we can treat is just as if there were no cache file and re-run.
MonitorCorruptCache :: MonitorChangedReason acabal-install Distribution.Client.ProjectBuilding.Types There was existing state, but we could not read it. This typically happens when the code has changed compared to an existing FileMonitor cache file and type of the input value or cached value has changed such that we cannot decode the values. This is completely benign as we can treat is just as if there were no cache file and re-run.
ensureScriptCacheDirectory :: Verbosity -> FilePath -> IO FilePathcabal-install Distribution.Client.ScriptUtils Get the directory for caching a script build and ensure it exists. The only identity of a script is it's absolute path, so append the hashed path to the script-builds dir to get the cache directory.
getScriptCacheDirectory :: FilePath -> IO FilePathcabal-install Distribution.Client.ScriptUtils Get the directory for caching a script build. The only identity of a script is it's absolute path, so append the hashed path to the script-builds dir to get the cache directory.
getCachedJSON :: (FromJSON a, ToJSON a) => String -> FilePath -> String -> NominalDiffTime -> IO acached-json-file System.Cached.JSON If the local cached json file is new enough then use it, otherwise refresh from the remote url.
-
cached-json-file System.Cached.JSON Similar to getCachedJSON but takes an IO procedure that fetches the remote json data.
getCache :: FileCacheR e a -> IO (Map FilePath (Either e a))filecache Data.FileCache Gets a copy of the cache.