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

Method updateDbFile

src/Site/SiteStorage.py:94–96  ·  view source on GitHub ↗
(self, inner_path, file=None, cur=None)

Source from the content-addressed store, hash-verified

92 return self.db
93
94 def updateDbFile(self, inner_path, file=None, cur=None):
95 path = self.getPath(inner_path)
96 return self.getDb().updateJson(path, file, cur)
97
98 # Return possible db files for the site
99 def getDbFiles(self):

Callers 2

rebuildDbMethod · 0.95
onUpdatedMethod · 0.95

Calls 3

getPathMethod · 0.95
getDbMethod · 0.95
updateJsonMethod · 0.80

Tested by

no test coverage detected