Portability | unix |
---|---|
Stability | experimental |
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Safe Haskell | Safe-Inferred |
- 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 | |
RevModAtDate String | |
RevModAtN Int |
data RevisionNotFound Source
Exception when a revision cannot be resolved to a reference
fromString :: IsString a => String -> a