MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / checkSite

Method checkSite

src/File/FileServer.py:224–229  ·  view source on GitHub ↗
(self, site, check_files=False)

Source from the content-addressed store, hash-verified

222
223 # Check site file integrity
224 def checkSite(self, site, check_files=False):
225 if site.isServing():
226 site.announce(mode="startup") # Announce site to tracker
227 site.update(check_files=check_files) # Update site's content.json and download changed files
228 site.sendMyHashfield()
229 site.updateHashfield()
230
231 # Check sites integrity
232 @util.Noparallel()

Callers

nothing calls this directly

Calls 5

isServingMethod · 0.80
announceMethod · 0.45
updateMethod · 0.45
sendMyHashfieldMethod · 0.45
updateHashfieldMethod · 0.45

Tested by

no test coverage detected