Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/HelloZeroNet/ZeroNet
/ initSite
Method
initSite
src/Content/ContentDb.py:83–84 ·
view source on GitHub ↗
(self, site)
Source
from the content-addressed store, hash-verified
81
return
schema
82
83
def
initSite(self, site):
84
self.sites[site.address] = site
85
86
def
needSite(self, site):
87
if
site.address not in self.site_ids:
Callers
1
loadContents
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected