rename symlinkPath -> symlinkSourcePath

This commit is contained in:
Cucumberrbob 2025-01-29 12:19:52 +00:00
parent 82f0bb8bbe
commit 0c9de86531
No known key found for this signature in database
GPG key ID: 2B935C47401C3614

View file

@ -45,7 +45,7 @@ public class DownloadClient(Download download, Torrent torrent, String destinati
throw new("Invalid download path");
}
var symlinkPath = torrent.ClientKind switch
var symlinkSourcePath = torrent.ClientKind switch
{
Torrent.TorrentClientKind.AllDebrid => AllDebridTorrentClient.GetSymlinkPath(torrent, download),
_ => downloadPath
@ -63,7 +63,7 @@ public class DownloadClient(Download download, Torrent torrent, String destinati
Data.Enums.DownloadClient.Internal => new InternalDownloader(download.Link, filePath),
Data.Enums.DownloadClient.Bezzad => new BezzadDownloader(download.Link, filePath),
Data.Enums.DownloadClient.Aria2c => new Aria2cDownloader(download.RemoteId, download.Link, filePath, downloadPath, category),
Data.Enums.DownloadClient.Symlink => new SymlinkDownloader(download.Link, filePath, symlinkPath, torrent.ClientKind),
Data.Enums.DownloadClient.Symlink => new SymlinkDownloader(download.Link, filePath, symlinkSourcePath, torrent.ClientKind),
_ => throw new($"Unknown download client {Type}")
};