Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
freetype2 FreeType.Cache No documentation available.
ftc_SBitCache_New :: FTC_Manager -> IO FTC_SBitCachefreetype2 FreeType.Cache No documentation available.
-
freetype2 FreeType.Cache.Internal No documentation available.
-
freetype2 FreeType.Cache.Internal No documentation available.
ftc_SBitCache_New' :: FTC_Manager -> Ptr FTC_SBitCache -> IO FT_Errorfreetype2 FreeType.Cache.Internal No documentation available.
constructCacheCacheDir :: (IsCache o, MonadIO m) => Text -> m (GValueConstruct o)gi-soup3 GI.Soup.Objects.Cache Construct a GValueConstruct with valid value for the “cache-dir” property. This is rarely needed directly, but it is used by new.
constructCacheCacheType :: (IsCache o, MonadIO m) => CacheType -> m (GValueConstruct o)gi-soup3 GI.Soup.Objects.Cache Construct a GValueConstruct with valid value for the “cache-type” property. This is rarely needed directly, but it is used by new.
getCacheCacheDir :: (MonadIO m, IsCache o) => o -> m (Maybe Text)gi-soup3 GI.Soup.Objects.Cache Get the value of the “cache-dir” property. When overloading is enabled, this is equivalent to
get cache #cacheDir
getCacheCacheType :: (MonadIO m, IsCache o) => o -> m CacheTypegi-soup3 GI.Soup.Objects.Cache Get the value of the “cache-type” property. When overloading is enabled, this is equivalent to
get cache #cacheType
getCacheDir :: FilePath -> IO FilePathhie-bios HIE.Bios.Environment Back in the day we used to clear the cache at the start of each session, however, it's not really necessary as 1. There is one cache dir for any change in options. 2. Interface files are resistent to bad option changes anyway.
clearInterfaceCache :: FilePath -> IO () clearInterfaceCache fp = do cd <- getCacheDir fp res <- doesPathExist cd when res (removeDirectoryRecursive cd)
Prepends the cache directory used by the library to the supplied file path. It tries to use the path under the environment variable `$HIE_BIOS_CACHE_DIR` and falls back to the standard `$XDG_CACHE_HOME/hie-bios` if the former is not set