Safe Haskell | None |
---|---|
Language | Haskell98 |
- expireCachedFile :: String -> GititServerPart ()
- lookupCache :: String -> GititServerPart (Maybe (UTCTime, ByteString))
- cacheContents :: String -> ByteString -> GititServerPart ()
Documentation
expireCachedFile :: String -> GititServerPart () Source
Expire a cached file, identified by its filename in the filestore. If there is an associated exported PDF, expire it too. Returns () after deleting a file from the cache, fails if no cached file.
lookupCache :: String -> GititServerPart (Maybe (UTCTime, ByteString)) Source
cacheContents :: String -> ByteString -> GititServerPart () Source