libgit2

git_refdb_backend_reftable

Version:

Constructor for the reftable-based refdb backend

Under normal usage, this is called for you when the repository is opened / created that uses the reftable format, but you can use this to explicitly construct a reftable refdb backend for a repository.

Signature

int git_refdb_backend_reftable(git_refdb_backend **backend_out, git_repository *repo);

Parameters

In
backend_out

Output pointer to the git_refdb_backend object

In
repo

Git repository to access

Returns

int

0 on success, < 0 error code on failure

Versions