Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Sprinkles.Project
Documentation
newtype TemplateCache Source #
Constructors
TemplateCache (HashMap Text (Template SourcePos)) |
Constructors
Project | |
loadProject :: ServerConfig -> IO Project Source #
createLogger :: LoggerConfig -> IO Logger Source #
createCache :: FilePath -> BackendCacheConfig -> IO (Cache ByteString ByteString) Source #
isHiddenFile :: FilePath -> Bool Source #
preloadTemplates :: Logger -> FilePath -> IO TemplateCache Source #