libgit2

refdb

Version:
A database for references (branches and tags)

Objects

An open refs database handle

Functions

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