mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-06-23 13:09:30 -04:00
16 lines
551 B
C#
16 lines
551 B
C#
using Cleanuparr.Domain.Entities;
|
|
using Cleanuparr.Infrastructure.Features.DownloadClient;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.DownloadCleaner.Services;
|
|
|
|
/// <summary>
|
|
/// Loads and applies per-client seeding rules to clean completed downloads.
|
|
/// </summary>
|
|
public interface ISeedingRulesCleanupService
|
|
{
|
|
/// <summary>
|
|
/// Evaluates the seeding rules against the client's downloads and removes those that match.
|
|
/// </summary>
|
|
Task CleanAsync(IDownloadService downloadService, List<ITorrentItemWrapper> clientDownloads);
|
|
}
|