Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
def
read_file(path: str):
2
with
open(path,
"r"
)
as
file:
3
result = file.read()
4
return
result
5
6
def
write_file(path: str, content: str):
7
with
open(path,
"w"
)
as
file:
Callers
1
main
Function · 0.70
Calls
2
open
Function · 0.85
read
Method · 0.45
Tested by
no test coverage detected