libgit2

git_odb_object_data

Version:

Return the data of an ODB object

This is the uncompressed, raw data as read from the ODB, without the leading header.

This pointer is owned by the object and shall not be free'd.

Signature

const void *git_odb_object_data(git_odb_object *object);

Parameters

In
object

the object

Returns

const void *

a pointer to the data

Versions