libgit2

git_odb_add_backend

Version:

Add a custom backend to an existing Object DB

Read <odb _backends.h> for more information.

Signature

int git_odb_add_backend(git_odb *odb, git_odb_backend *backend);

Parameters

git_odb *
In
odb

database to add the backend to

git_odb_backend *
In
backend

pointer to a git_odb_backend instance

Returns

int

0 on sucess; error code otherwise

Versions