MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Refdb_compress

Function Refdb_compress

src/refdb.c:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 "databases, for example, this may pack all loose references.");
54
55PyObject *
56Refdb_compress(Refdb *self)
57{
58 int err = git_refdb_compress(self->refdb);
59 if (err != 0)
60 return Error_set(err);
61 Py_RETURN_NONE;
62}
63
64PyDoc_STRVAR(Refdb_set_backend__doc__,
65 "set_backend(backend: RefdbBackend)\n"

Callers

nothing calls this directly

Calls 1

Error_setFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…