diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-24 10:55:55 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-12-24 10:55:55 -0500 |
| commit | 5183b2f47ad240174bf653b299af9e068a3b83e4 (patch) | |
| tree | b611c98fe9c6b89975acc2313676ce8a14ac673f /src/shared | |
| parent | c8cff6166d05e77c843bb727702607f970d3d030 (diff) | |
optimizations for download manager:
- use envfs for walking directory
- minimize string copies, disk access
- use set of filenames to check for duplicates
- use file size from envfs
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/directoryentry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp index c4b467d6..0d275844 100644 --- a/src/shared/directoryentry.cpp +++ b/src/shared/directoryentry.cpp @@ -636,7 +636,7 @@ void DirectoryEntry::addFiles( onDirectoryEnd((Context*)pcx, path);
},
- [](void* pcx, std::wstring_view path, FILETIME ft)
+ [](void* pcx, std::wstring_view path, FILETIME ft, uint64_t)
{
onFile((Context*)pcx, path, ft);
}
|
