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

Function DiffLine_content_offset__get__

src/diff.c:452–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450
451PyDoc_STRVAR(DiffLine_content_offset__doc__, "Offset in the original file to the content");
452PyObject *
453DiffLine_content_offset__get__(DiffLine *self)
454{
455 return PyLong_FromLongLong(self->line->content_offset);
456}
457
458PyDoc_STRVAR(DiffLine_content__doc__, "Content of the diff line");
459PyObject *

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…