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

Function get_hello_txt_from_repo

test/test_repository.py:1071–1074  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1069 hello_world = IndexEntry('hello_world.txt', hello_txt.id, hello_txt.mode)
1070
1071 def get_hello_txt_from_repo() -> str:
1072 blob = testrepo.get(hello_txt.id)
1073 assert isinstance(blob, Blob)
1074 return blob.data.decode()
1075
1076 # no change
1077 res = testrepo.merge_file_from_index(hello_txt, hello_txt, hello_txt)

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…