hakyll-3.0.0.2: A simple static site generator library.

Hakyll.Core.Store

Description

A store for stroing and retreiving items

Synopsis

Documentation

data Store Source

Data structure used for the store

makeStore :: FilePath -> IO StoreSource

Initialize the store

storeSet :: (Binary a, Typeable a, Writable a) => Store -> String -> Identifier -> a -> IO ()Source

Store an item

storeGet :: (Binary a, Typeable a, Writable a) => Store -> String -> Identifier -> IO (Maybe a)Source

Load an item