1-- | Module exporting the simple 'Resource' type
3module Hakyll.Core.Resource
9import Hakyll.Core.Identifier
13newtype Resource = Resource {unResource :: String}
14 deriving (Eq, Show, Ord)
16-- | Create a resource from an identifier
18fromIdentifier :: Identifier a -> Resource
19fromIdentifier = Resource . toFilePath
21-- | Map the resource to an identifier. Note that the group will not be set!
23toIdentifier :: Resource -> Identifier a
24toIdentifier = parseIdentifier . unResource
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