hit-0.6.3: Git operations in haskell

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunix
Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Git.Revision

Description

 

Synopsis

Documentation

data Revision Source

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

Constructors

Revision String [RevModifier] 

data RevModifier Source

A modifier to a revision, which is a function apply of a revision

Constructors

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