MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / __init__

Method __init__

src/Content/ContentManager.py:33–38  ·  view source on GitHub ↗
(self, site)

Source from the content-addressed store, hash-verified

31class ContentManager(object):
32
33 def __init__(self, site):
34 self.site = site
35 self.log = self.site.log
36 self.contents = ContentDbDict(site)
37 self.hashfield = PeerHashfield()
38 self.has_optional_files = False
39
40 # Load all content.json files
41 def loadContents(self):

Callers

nothing calls this directly

Calls 2

ContentDbDictClass · 0.90
PeerHashfieldClass · 0.90

Tested by

no test coverage detected