hakyll-3.5.2.0: A static website compiler library
Hakyll.Core.Store
Description
A store for storing and retreiving items
Synopsis
data Store Source
data Result a Source
Result of a store query
Constructors
Found, result
Not found
Expected, true type
Instances
newSource
Arguments
Use in-memory caching
Directory to use for hard disk storage
Store
Initialize the store
set :: (Binary a, Typeable a) => Store -> [String] -> a -> IO ()Source
Store an item
get :: (Binary a, Typeable a) => Store -> [String] -> IO (Result a)Source
Load an item
delete :: Store -> [String] -> IO ()Source
Delete an item