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

Method updateThread

src/Ui/UiWebsocket.py:899–901  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

897 # Update site content.json
898 def actionSiteUpdate(self, to, address, check_files=False, since=None, announce=False):
899 def updateThread():
900 site.update(announce=announce, check_files=check_files, since=since)
901 self.response(to, "Updated")
902
903 site = self.server.sites.get(address)
904 if site and (site.address == self.site.address or "ADMIN" in self.site.settings["permissions"]):

Callers

nothing calls this directly

Calls 2

responseMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected