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

Function DiffLine_old_lineno__get__

src/diff.c:431–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429
430PyDoc_STRVAR(DiffLine_old_lineno__doc__, "Line number in old file or -1 for added line");
431PyObject *
432DiffLine_old_lineno__get__(DiffLine *self)
433{
434 return PyLong_FromLong(self->line->old_lineno);
435}
436
437PyDoc_STRVAR(DiffLine_new_lineno__doc__, "Line number in new file or -1 for deleted line");
438PyObject *

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…