libgit2

object

Version:
Git revision object management routines

Objects

Representation of a generic object in a repository

Functions

Lookup a reference to one of the objects in a repostory

Create a new in-memory repository object with the given type

Write back an object to disk

Get the id (SHA1) of a repository object

Get the object type of an object

Get the repository that owns this object

Close an open object

Convert an object type to it's string representation

Convert a string object type representation to it's git_otype

Determine if the given git_otype is a valid loose object type

Get the size in bytes for the structure which acts as an in-memory representation of any given object type