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

Function Repository__pointer__get__

src/repository.c:1945–1950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1943
1944PyDoc_STRVAR(Repository__pointer__doc__, "Get the repo's pointer. For internal use only.");
1945PyObject *
1946Repository__pointer__get__(Repository *self)
1947{
1948 /* Bytes means a raw buffer */
1949 return PyBytes_FromStringAndSize((char *) &self->repo, sizeof(git_repository *));
1950}
1951
1952PyDoc_STRVAR(Repository_notes__doc__, "");
1953

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…