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

Method findTask

src/Worker/WorkerManager.py:526–530  ·  view source on GitHub ↗
(self, inner_path)

Source from the content-addressed store, hash-verified

524
525 # Find a task using inner_path
526 def findTask(self, inner_path):
527 for task in self.tasks:
528 if task["inner_path"] == inner_path:
529 return task
530 return None # Not found
531
532 # Wait for other tasks
533 def checkComplete(self):

Callers 2

addTaskMethod · 0.95
verifyContentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected