MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / read_text

Function read_text

scripts/scripts/bump-version.py:34–35  ·  view source on GitHub ↗
(p: pathlib.Path)

Source from the content-addressed store, hash-verified

32
33
34def read_text(p: pathlib.Path) -> str:
35 return p.read_text(encoding="utf-8")
36
37
38def write_text(p: pathlib.Path, content: str, dry: bool) -> None:

Callers 2

get_current_versionsFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected