libgit2

object

Version:
Git revision object management routines

Objects

Representation of a generic object in a repository

Enums

Basic type (loose or packed) of any Git object

Functions

Lookup a reference to one of the objects in a repository

Lookup a reference to one of the objects in a repository, given a prefix of its identifier (short id)

Lookup an object that represents a tree entry

Get the id (SHA1) of a repository object

Get a short abbreviated OID string for the object

Get the object type of an object

Get the repository that owns this object

Close an open object

Convert an object type to its string representation

Convert a string object type representation to it's git_object_t

Determine if the given git_object_t 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

Recursively peel an object until an object of the specified type is met

Create an in-memory copy of a Git object explicitly free'd or it will leak.