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.

  1. ftc_SBitCache_LookupScaler :: FTC_SBitCache -> FTC_Scaler -> FT_ULong -> FT_UInt -> IO (FTC_SBit, Maybe FTC_Node)

    freetype2 FreeType.Cache

    No documentation available.

  2. ftc_SBitCache_New :: FTC_Manager -> IO FTC_SBitCache

    freetype2 FreeType.Cache

    No documentation available.

  3. ftc_SBitCache_Lookup' :: FTC_SBitCache -> FTC_ImageType -> FT_UInt -> Ptr FTC_SBit -> Ptr FTC_Node -> IO FT_Error

    freetype2 FreeType.Cache.Internal

    No documentation available.

  4. ftc_SBitCache_LookupScaler' :: FTC_SBitCache -> FTC_Scaler -> FT_ULong -> FT_UInt -> Ptr FTC_SBit -> Ptr FTC_Node -> IO FT_Error

    freetype2 FreeType.Cache.Internal

    No documentation available.

  5. ftc_SBitCache_New' :: FTC_Manager -> Ptr FTC_SBitCache -> IO FT_Error

    freetype2 FreeType.Cache.Internal

    No documentation available.

  6. 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.

  7. 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.

  8. 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
    

  9. getCacheCacheType :: (MonadIO m, IsCache o) => o -> m CacheType

    gi-soup3 GI.Soup.Objects.Cache

    Get the value of the “cache-type” property. When overloading is enabled, this is equivalent to

    get cache #cacheType
    

  10. getCacheDir :: FilePath -> IO FilePath

    hie-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

Page 10 of many | Previous | Next