libgit2

git_odb_new_ext

Version:

Create a new object database with no backends.

Signature

int git_odb_new_ext(git_odb **odb, const git_odb_options *opts);

Parameters

Out
odb

location to store the database pointer, if opened.

In
opts

the options for this object database or NULL for defaults

Returns

int

0 or an error code

Versions