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

Function Commit_commit_time_offset__get__

src/commit.c:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161PyDoc_STRVAR(Commit_commit_time_offset__doc__, "Commit time offset.");
162
163PyObject *
164Commit_commit_time_offset__get__(Commit *self)
165{
166 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
167 return PyLong_FromLong(git_commit_time_offset(self->commit));
168}
169
170
171PyDoc_STRVAR(Commit_committer__doc__, "The committer of the commit.");

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…