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

Function test_reference_get_sha

test/test_refs.py:540–542  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

538
539
540def test_reference_get_sha(testrepo: Repository) -> None:
541 reference = testrepo.lookup_reference('refs/heads/master')
542 assert reference.target == LAST_COMMIT
543
544
545def test_reference_set_sha(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…