File: backends.rst

package info (click to toggle)
python-pygit2 1.4.0%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,328 kB
  • sloc: ansic: 11,016; python: 5,943; sh: 275; makefile: 19
file content (42 lines) | stat: -rw-r--r-- 1,005 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
**********************************************************************
Backends
**********************************************************************

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

.. contents:: Contents
   :local:

The OdbBackend class
===================================

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

.. autoclass:: pygit2.OdbBackend
   :members:

Built-in OdbBackend implementations
===================================

.. autoclass:: pygit2.OdbBackendLoose
   :members:

.. autoclass:: pygit2.OdbBackendPack
   :members:

The RefdbBackend class
===================================

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

.. autoclass:: pygit2.RefdbBackend
   :members:

Built-in RefdbBackend implementations
=====================================

.. autoclass:: pygit2.RefdbFsBackend
   :members: