Commit 72605b7
committed
OdbBackend: initial pass on Python subclassing
The basic approach here is to have backends created from C (loose, pack)
circumvent the OdbBackend_init function. However, backends created from
Python will not. We then use this backend to pull out the functions
implemented in Python and rig them up through shim functions to the
libgit2 git_odb_backend.1 parent f78fac9 commit 72605b7
3 files changed
Lines changed: 419 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
0 commit comments