Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1005 Bytes

backends.rst

File metadata and controls

42 lines (29 loc) · 1005 Bytes

Backends

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

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

.. autoclass:: pygit2.OdbBackend
   :members:

.. autoclass:: pygit2.OdbBackendLoose
   :members:

.. autoclass:: pygit2.OdbBackendPack
   :members:

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

.. autoclass:: pygit2.RefdbBackend
   :members:

.. autoclass:: pygit2.RefdbFsBackend
   :members: