hit-0.1.0: Git operations

Portabilityunix
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>

Data.Git.Loose

Contents

Description

 

Synopsis

marshall from and to lazy bytestring

looseUnmarshall :: ByteString -> ObjectSource

unmarshall an object (with header) from a lazy bytestring.

looseUnmarshallRaw :: ByteString -> (ObjectHeader, ObjectData)Source

unmarshall an object as (header, data) tuple from a lazy bytestring.

read and check object existence

write objects

enumeration of loose objects

looseEnumerateWithPrefixFilter :: FilePath -> String -> (Ref -> Bool) -> IO [Ref]Source

read a specific ref from a loose object and returns an header and data.

read only the header of a loose object.

read a specific ref from a loose object and returns an object

check if a specific ref exists as loose object

enumarate all prefixes available in the object store.

enumerate all references available with a specific prefix.