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

Method getBytesLeft

module/PyFile.py:251–256  ·  view source on GitHub ↗

gets bytes left

(self)

Source from the content-addressed store, hash-verified

249 return 0
250
251 def getBytesLeft(self):
252 """ gets bytes left """
253 try:
254 return self.plugin.req.size - self.plugin.req.arrived
255 except:
256 return 0
257
258 def getPercent(self):
259 """ get % of download """

Callers 2

getETAMethod · 0.95
statusDownloadsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected