Skip to content
Snippets Groups Projects
Commit 4fe35dc2 authored by Alan De Smet's avatar Alan De Smet
Browse files

Get files of any origin from DownloadStatistics

DownloadStatistics.all_files() returns files that were downloaded or found
in the cache

Part of #5
parent 1828f1f1
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,9 @@ class DownloadStatistics:
def total_time(self):
return self.end - self.start
def all_files(self):
return self.downloaded_files | self.cached_files
def report(self):
self.finish()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment