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

Function DiffLine_raw_content__get__

src/diff.c:466–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464
465PyDoc_STRVAR(DiffLine_raw_content__doc__, "Content of the diff line (byte string)");
466PyObject *
467DiffLine_raw_content__get__(DiffLine *self)
468{
469 return PyBytes_FromStringAndSize(self->line->content, self->line->content_len);
470}
471
472PyGetSetDef DiffLine_getsetters[] = {
473 GETTER(DiffLine, origin),

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…