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

Method actionDbReload

plugins/Sidebar/SidebarPlugin.py:762–766  ·  view source on GitHub ↗
(self, to)

Source from the content-addressed store, hash-verified

760 @flag.no_multiuser
761 @flag.admin
762 def actionDbReload(self, to):
763 self.site.storage.closeDb()
764 self.site.storage.getDb()
765
766 return self.response(to, "ok")
767
768 @flag.no_multiuser
769 @flag.admin

Callers

nothing calls this directly

Calls 3

closeDbMethod · 0.80
getDbMethod · 0.80
responseMethod · 0.45

Tested by

no test coverage detected