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

Method pooledNeedBigfile

plugins/Bigfile/BigfilePlugin.py:748–752  ·  view source on GitHub ↗
(inner_path, *args, **kwargs)

Source from the content-addressed store, hash-verified

746 if inner_path.endswith("|all"):
747 @util.Pooled(20)
748 def pooledNeedBigfile(inner_path, *args, **kwargs):
749 if inner_path not in self.bad_files:
750 self.log.debug("Cancelled piece, skipping %s" % inner_path)
751 return False
752 return self.needFile(inner_path, *args, **kwargs)
753
754 inner_path = inner_path.replace("|all", "")
755 file_info = self.needFileInfo(inner_path)

Callers

nothing calls this directly

Calls 1

needFileMethod · 0.95

Tested by

no test coverage detected