libgit2

refdb

Version:
Git custom refs backend functions

Objects

An open refs database handle

Functions

Create a new reference specified.

Create a new reference database with no backends

Create a new reference database and automatically add the default backends:

Suggests that the given refdb compress or optimize its references This mechanism is implementation specific. For on-disk reference databases, for example, this may pack all loose references.

Close an open reference database

Sets the custom backend to an existing reference DB