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

Function test_write_commit

test/test_archive.py:65–69  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

63
64
65def test_write_commit(testrepo: Repository) -> None:
66 commit_timestamp = testrepo[COMMIT_HASH].committer.time
67 check_writing(testrepo, COMMIT_HASH, commit_timestamp)
68 check_writing(testrepo, Oid(hex=COMMIT_HASH), commit_timestamp)
69 check_writing(testrepo, testrepo[COMMIT_HASH], commit_timestamp)

Callers

nothing calls this directly

Calls 1

check_writingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…