removed commented and unused code

This commit is contained in:
Flaminel
2025-03-25 16:21:31 +02:00
parent 7639b0787e
commit c86e9c97b8
3 changed files with 2 additions and 9 deletions
@@ -406,11 +406,7 @@ public class QBitService : DownloadService, IQBitService
break;
}
// string filePath = Path.Combine(Directory.Exists(download.ContentPath)
// ? download.ContentPath
// : download.SavePath, file.Name
// );
string filePath = string.Join(Path.DirectorySeparatorChar, Path.Combine(download.SavePath, file.Name).Split(['\\', '/'])); // TODO
string filePath = string.Join(Path.DirectorySeparatorChar, Path.Combine(download.SavePath, file.Name).Split(['\\', '/']));
long hardlinkCount = _hardLinkFileService.GetHardLinkCount(filePath, !string.IsNullOrEmpty(_downloadCleanerConfig.UnlinkedIgnoredRootDir));