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

Method downloader

src/File/FileRequest.py:171–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169
170 # Load new content file and download changed files in new thread
171 def downloader():
172 site.downloadContent(inner_path, peer=peer, diffs=params.get("diffs", {}))
173 del self.server.files_parsing[file_uri]
174
175 gevent.spawn(downloader)
176 else:

Callers

nothing calls this directly

Calls 2

downloadContentMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected