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

Function Commit_committer__get__

src/commit.c:173–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171PyDoc_STRVAR(Commit_committer__doc__, "The committer of the commit.");
172
173PyObject *
174Commit_committer__get__(Commit *self)
175{
176 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
177
178 const git_signature *signature = git_commit_committer(self->commit);
179 const char *encoding = git_commit_message_encoding(self->commit);
180
181 return build_signature((Object*)self, signature, encoding);
182}
183
184
185PyDoc_STRVAR(Commit_author__doc__, "The author of the commit.");

Callers

nothing calls this directly

Calls 2

Object__loadFunction · 0.85
build_signatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…