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

Function DiffHunk_header__get__

src/diff.c:756–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

754PyDoc_STRVAR(DiffHunk_header__doc__, "Header.");
755
756PyObject *
757DiffHunk_header__get__(DiffHunk *self)
758{
759 return to_unicode_n((const char *) &self->hunk->header,
760 self->hunk->header_len, NULL, NULL);
761}
762
763PyDoc_STRVAR(DiffHunk_lines__doc__, "Lines.");
764

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…