mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-06-10 23:06:04 -04:00
18 lines
620 B
C#
18 lines
620 B
C#
using Cleanuparr.Domain.Entities;
|
|
using Cleanuparr.Infrastructure.Features.DownloadClient;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadCleaner.Services;
|
|
|
|
/// <summary>
|
|
/// Handles downloads that have lost their hard links by moving them to a
|
|
/// dedicated category or tag so they can be cleaned up separately.
|
|
/// </summary>
|
|
public interface IUnlinkedDownloadsService
|
|
{
|
|
/// <summary>
|
|
/// Re-categorises downloads with no hard links according to the supplied
|
|
/// configuration.
|
|
/// </summary>
|
|
Task ProcessAsync(IDownloadService downloadService, List<ITorrentItemWrapper> clientDownloads);
|
|
}
|