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

Method getInfoData

module/database/FileDatabase.py:109–117  ·  view source on GitHub ↗

gets a data representation without links

(self, queue=1)

Source from the content-addressed store, hash-verified

107
108 @lock
109 def getInfoData(self, queue=1):
110 """gets a data representation without links"""
111
112 packs = self.db.getAllPackages(queue)
113 for x in self.packageCache.itervalues():
114 if x.queue != queue or x.id not in packs: continue
115 packs[x.id].update(x.toDict()[x.id])
116
117 return packs
118
119 @lock
120 @change

Callers 4

deleteFinishedLinksMethod · 0.95
getQueueMethod · 0.80
getCollectorMethod · 0.80
getPackageOrderMethod · 0.80

Calls 4

getAllPackagesMethod · 0.80
itervaluesMethod · 0.80
updateMethod · 0.45
toDictMethod · 0.45

Tested by

no test coverage detected