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

Function read_bye_txt

test/test_repository.py:168–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 ref_i18n = testrepo.lookup_reference('refs/heads/i18n')
167
168 def read_bye_txt() -> bytes:
169 blob = testrepo[testrepo.create_blob_fromworkdir('bye.txt')]
170 assert isinstance(blob, Blob)
171 return blob.data
172
173 s = testrepo.status()
174 assert s == {'bye.txt': FileStatus.WT_NEW}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…