Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ set_content
Function
set_content
test/test_blob.py:113–114 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
111
assert BLOB_NEW_CONTENT == blob_buffer
112
113
def
set_content() -> None:
114
blob_buffer[:2] = b
'hi'
115
116
with
pytest.raises(TypeError):
117
set_content()
Callers
1
test_create_blob
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…