MCPcopy
hub / github.com/pyload/pyload / getFileCount

Method getFileCount

module/database/FileDatabase.py:353–359  ·  view source on GitHub ↗

returns number of files

(self)

Source from the content-addressed store, hash-verified

351 return None
352
353 def getFileCount(self):
354 """returns number of files"""
355
356 if self.filecount == -1:
357 self.filecount = self.db.filecount(1)
358
359 return self.filecount
360
361 def getQueueCount(self, force=False):
362 """number of files that have to be processed"""

Callers 1

statusServerMethod · 0.80

Calls 1

filecountMethod · 0.80

Tested by

no test coverage detected