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

Function DiffLine_new_lineno__get__

src/diff.c:438–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436
437PyDoc_STRVAR(DiffLine_new_lineno__doc__, "Line number in new file or -1 for deleted line");
438PyObject *
439DiffLine_new_lineno__get__(DiffLine *self)
440{
441 return PyLong_FromLong(self->line->new_lineno);
442}
443
444PyDoc_STRVAR(DiffLine_num_lines__doc__, "Number of newline characters in content");
445PyObject *

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…