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

Method deleteContent

src/Content/ContentDb.py:112–113  ·  view source on GitHub ↗
(self, site, inner_path)

Source from the content-addressed store, hash-verified

110 })
111
112 def deleteContent(self, site, inner_path):
113 self.execute("DELETE FROM content WHERE ?", {"site_id": self.site_ids.get(site.address, 0), "inner_path": inner_path})
114
115 def loadDbDict(self, site):
116 res = self.execute(

Callers 1

__delitem__Method · 0.45

Calls 2

executeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected