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

Function Commit_commit_time__get__

src/commit.c:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151PyDoc_STRVAR(Commit_commit_time__doc__, "Commit time.");
152
153PyObject *
154Commit_commit_time__get__(Commit *self)
155{
156 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
157 return PyLong_FromLongLong(git_commit_time(self->commit));
158}
159
160
161PyDoc_STRVAR(Commit_commit_time_offset__doc__, "Commit time offset.");

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…