We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb8dff4 commit 56f5f94Copy full SHA for 56f5f94
core/storages/alist.py
@@ -81,7 +81,11 @@ async def getFileList(dir: str, pbar: tqdm) -> List[FileInfo]:
81
existing_files += await getFileList(dir, pbar)
82
83
existing_info: Set[Tuple[str, int]] = {(file.hash, file.size) for file in existing_files}
84
- missing_files = [file for file in files.files if (file.hash, file.size) not in existing_info]
+ missing_files = []
85
+ for file in files.files:
86
+ pbar.update(1)
87
+ if (file.hash, file.size) not in existing_info:
88
+ missing_files.append(file)
89
90
return FileList(files=missing_files)
91
0 commit comments