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

Function DiffLine_num_lines__get__

src/diff.c:445–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443
444PyDoc_STRVAR(DiffLine_num_lines__doc__, "Number of newline characters in content");
445PyObject *
446DiffLine_num_lines__get__(DiffLine *self)
447{
448 return PyLong_FromLong(self->line->num_lines);
449}
450
451PyDoc_STRVAR(DiffLine_content_offset__doc__, "Offset in the original file to the content");
452PyObject *

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…