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

Function read_text

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

Source from the content-addressed store, hash-verified

36
37
38def read_text(p: pathlib.Path) -> str:
39 return p.read_text(encoding="utf-8")
40
41
42def 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