Backends

The use of custom backends for the git object database (odb) and reference database (refdb) are supported by pygit2.

The OdbBackend class

The OdbBackend class is subclassable and can be used to build a custom object database.

Built-in OdbBackend implementations

The RefdbBackend class

The RefdbBackend class is subclassable and can be used to build a custom reference database.

Built-in RefdbBackend implementations