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

Function RevSpec_from_object__get__

src/revspec.c:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62PyDoc_STRVAR(RevSpec_from_object__doc__, "From revision");
63
64PyObject *
65RevSpec_from_object__get__(RevSpec *self)
66{
67 if (self->from == NULL)
68 Py_RETURN_NONE;
69
70 Py_INCREF(self->from);
71 return self->from;
72}
73
74PyDoc_STRVAR(RevSpec_to_object__doc__, "To revision");
75

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…