hit-0.6.3: Git operations in haskell

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

Data.Git.Types

Contents

Description

 

Synopsis

Type of types

data ObjectType Source

type of a git object.

Instances

Enum ObjectType

the enum instance is useful when marshalling to pack file.

Eq ObjectType 
Data ObjectType 
Show ObjectType 
Typeable * ObjectType 

Main git types

data Tree Source

Represent a root tree with zero to many tree entries.

Constructors

Tree 

Fields

treeGetEnts :: [TreeEnt]
 

data Blob Source

Represent a binary blob.

Constructors

Blob 

data Tag Source

Represent a signed tag.

Instances

data Person Source

an author or committer line has the format: name email time timezone FIXME: should be a string, but I don't know if the data is stored consistantly in one encoding (UTF8)

Instances

modeperm type

newtype ModePerm Source

Constructors

ModePerm Word32 

Instances

data FilePermissions Source

traditional unix permission for owner, group and permissions

Constructors

FilePermissions 

Fields

getOwnerPerm :: !Perm
 
getGroupPerm :: !Perm
 
getOtherPerm :: !Perm
 

time type

data GitTime Source

Git time is number of seconds since unix epoch in the UTC zone with the current timezone associated

Pack delta types

data DeltaOfs Source

Delta pointing to an offset.

Constructors

DeltaOfs Word64 Delta 

data DeltaRef Source

Delta pointing to a ref.

Constructors

DeltaRef Ref Delta 

Basic types part of other bigger types

type TreeEnt = (ModePerm, EntName, Ref) Source

represent one entry in the tree (permission,file or directory name,blob or tree ref) name should maybe a filepath, but not sure about the encoding.