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

Function DiffLine_origin__get__

src/diff.c:424–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422
423PyDoc_STRVAR(DiffLine_origin__doc__, "Type of the diff line");
424PyObject *
425DiffLine_origin__get__(DiffLine *self)
426{
427 return PyUnicode_FromStringAndSize(&(self->line->origin), 1);
428}
429
430PyDoc_STRVAR(DiffLine_old_lineno__doc__, "Line number in old file or -1 for added line");
431PyObject *

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…