Use 'fail if exist' strategy on automatic move

Prevent existing files overwriting when torrent is moved automatically (e.g. when moved from incomplete to final save path).

PR #17855.
This commit is contained in:
Vladimir Golovnev
2022-10-11 10:05:21 +03:00
committed by GitHub
parent f66ec4430d
commit 4f0990dc29
3 changed files with 18 additions and 4 deletions

View File

@@ -63,6 +63,7 @@ namespace BitTorrent
enum class MoveStorageMode
{
FailIfExist,
KeepExistingFiles,
Overwrite
};