MCPcopy Create free account
hub / github.com/pyload/pyload / getChunkCount

Method getChunkCount

module/plugins/Plugin.py:208–211  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 self.init()
207
208 def getChunkCount(self):
209 if self.chunkLimit <= 0:
210 return self.config["download"]["chunks"]
211 return min(self.config["download"]["chunks"], self.chunkLimit)
212
213 def __call__(self):
214 return self.__name__

Callers 1

downloadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected