1-- | This module provides an API for resource providers. Resource providers
2-- allow Hakyll to get content from resources; the type of resource depends on
3-- the concrete instance.
5module Hakyll.Core.ResourceProvider
6 ( ResourceProvider (..)
9import Hakyll.Core.Identifier
11-- | A value responsible for retrieving and listing resources
13data ResourceProvider = ResourceProvider
14 { -- | A list of all resources this provider is able to provide
15 resourceList :: [Identifier]
16 , -- | Retrieve a certain resource as string
17 resourceString :: Identifier -> IO String
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list