License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unix |
Safe Haskell | Safe |
Language | Haskell98 |
- data Revision = Revision String [RevModifier]
- data RevModifier
- data RevisionNotFound = RevisionNotFound Revision
- fromString :: IsString a => String -> a
Documentation
A git revision. this can be many things:
* a shorten ref
* a ref
* a named branch or tag
followed by optional modifiers RevModifier
that can represent:
* parenting
* type
* date
data RevModifier Source #
A modifier to a revision, which is a function apply of a revision
RevModParent Int | parent accessor ^n and ^ |
RevModParentFirstN Int | parent accessor ~n |
RevModAtType String | @{type} accessor |
RevModAtDate String | @{date} accessor |
RevModAtN Int | @{n} accessor |
data RevisionNotFound Source #
Exception when a revision cannot be resolved to a reference
fromString :: IsString a => String -> a #