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

Function RevSpec_repr

src/revspec.c:96–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96static PyObject *
97RevSpec_repr(RevSpec *self)
98{
99 return PyUnicode_FromFormat("<pygit2.RevSpec{from=%S,to=%S}>",
100 (self->from != NULL) ? self->from : Py_None,
101 (self->to != NULL) ? self->to : Py_None);
102}
103
104static void
105RevSpec_dealloc(RevSpec *self)

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…