libgit2

odb

Version:
Git object database routines

Objects

An open object database handle

Structs

An object read from the database

Enums

Basic type (loose or packed) of any Git object

Functions

Open an object database for read/write access

Close an open object database

Read an object from the database

Read the header of an object from the database, without reading its full contents

Read an object from the database using only pack files

Read an object from the database using only loose object files

Write an object to the database

Release all memory used by the obj structure

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

Determine the object-ID (sha1 hash) of the given git_rawobj

Determine if the given object can be found in the object database