MCPcopy
hub / github.com/pyload/pyload / formatSize

Method formatSize

module/PyFile.py:223–225  ·  view source on GitHub ↗

formats size to readable format

(self)

Source from the content-addressed store, hash-verified

221 return "%.2i:%.2i:%.2i" % (hours, minutes, seconds)
222
223 def formatSize(self):
224 """ formats size to readable format """
225 return formatSize(self.getSize())
226
227 def formatETA(self):
228 """ formats eta to readable format """

Callers 2

toDbDictMethod · 0.95
statusDownloadsMethod · 0.80

Calls 2

getSizeMethod · 0.95
formatSizeFunction · 0.90

Tested by

no test coverage detected