Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InfinitiBit/graphbit
/ write_text
Function
write_text
scripts/scripts/bump-version.py:38–41 ·
view source on GitHub ↗
(p: pathlib.Path, content: str, dry: bool)
Source
from the content-addressed store, hash-verified
36
37
38
def
write_text(p: pathlib.Path, content: str, dry: bool) -> None:
39
if
dry:
40
return
41
p.write_text(content, encoding=
"utf-8"
)
42
43
44
def
bump_part(v: str, part: str) -> str:
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected