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

Function test_head_id

test/test_submodule.py:223–224  ·  view source on GitHub ↗
(repo: Repository)

Source from the content-addressed store, hash-verified

221
222@utils.requires_network
223def test_head_id(repo: Repository) -> None:
224 assert repo.submodules[SUBM_PATH].head_id == SUBM_HEAD_SHA
225
226
227@utils.requires_network

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…