MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / read_file

Function read_file

Buildscripts/DevicetreeCompiler/source/files.py:1–4  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

1def read_file(path: str):
2 with open(path, "r") as file:
3 result = file.read()
4 return result
5
6def write_file(path: str, content: str):
7 with open(path, "w") as file:

Callers 1

mainFunction · 0.70

Calls 2

openFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected