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

Function Commit_message__get__

src/commit.c:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55PyDoc_STRVAR(Commit_message__doc__, "The commit message, a text string.");
56
57PyObject *
58Commit_message__get__(Commit *self)
59{
60 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
61
62 const char *message = git_commit_message(self->commit);
63 const char *encoding = git_commit_message_encoding(self->commit);
64 return to_unicode(message, encoding, NULL);
65}
66
67PyDoc_STRVAR(Commit_gpg_signature__doc__, "A tuple with the GPG signature and the signed payload.");
68

Callers

nothing calls this directly

Calls 1

Object__loadFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…