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

Function DiffLine_content__get__

src/diff.c:459–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457
458PyDoc_STRVAR(DiffLine_content__doc__, "Content of the diff line");
459PyObject *
460DiffLine_content__get__(DiffLine *self)
461{
462 return to_unicode_n(self->line->content, self->line->content_len, NULL, NULL);
463}
464
465PyDoc_STRVAR(DiffLine_raw_content__doc__, "Content of the diff line (byte string)");
466PyObject *

Callers

nothing calls this directly

Calls 1

to_unicode_nFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…