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

Method isDownloadable

src/Site/Site.py:1011–1012  ·  view source on GitHub ↗
(self, inner_path)

Source from the content-addressed store, hash-verified

1009
1010 # Returns if the optional file is need to be downloaded or not
1011 def isDownloadable(self, inner_path):
1012 return self.settings.get("autodownloadoptional")
1013
1014 def delete(self):
1015 self.settings["serving"] = False

Callers 3

downloadContentMethod · 0.95
verifyFilesMethod · 0.45
loadContentMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1

verifyFilesMethod · 0.36