MCPcopy Index your code
hub / github.com/pyload/pyload / add

Method add

module/plugins/internal/misc.py:203–208  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

201 return self.plugin.db.delete(self.storage)
202
203 def add(self, item):
204 queue = self.get()
205 if item not in queue:
206 return self.set(queue + [item])
207 else:
208 return True
209
210 def remove(self, item):
211 queue = self.get()

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected