removed commented and unused code
This commit is contained in:
@@ -147,7 +147,7 @@ public sealed class DelugeClient
|
|||||||
return responseJson;
|
return responseJson;
|
||||||
}
|
}
|
||||||
|
|
||||||
private DelugeRequest CreateRequest(string method, params object[] parameters)
|
private static DelugeRequest CreateRequest(string method, params object[] parameters)
|
||||||
{
|
{
|
||||||
if (String.IsNullOrWhiteSpace(method))
|
if (String.IsNullOrWhiteSpace(method))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -126,9 +126,6 @@ public class DelugeService : DownloadService, IDelugeService
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
var ceva = await _client.GetTorrentExtended(hash);
|
|
||||||
|
|
||||||
|
|
||||||
if (ignoredDownloads.Count > 0 && download.ShouldIgnore(ignoredDownloads))
|
if (ignoredDownloads.Count > 0 && download.ShouldIgnore(ignoredDownloads))
|
||||||
{
|
{
|
||||||
_logger.LogInformation("skip | download is ignored | {name}", download.Name);
|
_logger.LogInformation("skip | download is ignored | {name}", download.Name);
|
||||||
|
|||||||
@@ -406,11 +406,7 @@ public class QBitService : DownloadService, IQBitService
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// string filePath = Path.Combine(Directory.Exists(download.ContentPath)
|
string filePath = string.Join(Path.DirectorySeparatorChar, Path.Combine(download.SavePath, file.Name).Split(['\\', '/']));
|
||||||
// ? download.ContentPath
|
|
||||||
// : download.SavePath, file.Name
|
|
||||||
// );
|
|
||||||
string filePath = string.Join(Path.DirectorySeparatorChar, Path.Combine(download.SavePath, file.Name).Split(['\\', '/'])); // TODO
|
|
||||||
|
|
||||||
long hardlinkCount = _hardLinkFileService.GetHardLinkCount(filePath, !string.IsNullOrEmpty(_downloadCleanerConfig.UnlinkedIgnoredRootDir));
|
long hardlinkCount = _hardLinkFileService.GetHardLinkCount(filePath, !string.IsNullOrEmpty(_downloadCleanerConfig.UnlinkedIgnoredRootDir));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user