Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/HelloZeroNet/ZeroNet
/ read
Method
read
src/Site/SiteStorage.py:222–223 ·
view source on GitHub ↗
(self, inner_path, mode="rb")
Source
from the content-addressed store, hash-verified
220
221
# Open file object
222
def
read(self, inner_path, mode=
"rb"
):
223
return
open(self.getPath(inner_path), mode).read()
224
225
# Write content to file
226
def
write(self, inner_path, content):
Callers
1
publisher
Method · 0.45
Calls
1
getPath
Method · 0.95
Tested by
no test coverage detected