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

Method checkAndAddPackages

module/Api.py:450–459  ·  view source on GitHub ↗

Checks online status, retrieves names, and will add packages.\ Because of this packages are not added immediatly, only for internal use. :param links: list of urls :param dest: `Destination` :return: None

(self, links, dest=Destination.Queue)

Source from the content-addressed store, hash-verified

448
449 @permission(PERMS.ADD)
450 def checkAndAddPackages(self, links, dest=Destination.Queue):
451 """Checks online status, retrieves names, and will add packages.\
452 Because of this packages are not added immediatly, only for internal use.
453
454 :param links: list of urls
455 :param dest: `Destination`
456 :return: None
457 """
458 data = self.core.pluginManager.parseUrls(links)
459 self.core.threadManager.createResultThread(data, True)
460
461
462 @permission(PERMS.LIST)

Callers

nothing calls this directly

Calls 2

parseUrlsMethod · 0.80
createResultThreadMethod · 0.80

Tested by

no test coverage detected