mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-11-05 13:53:31 -05:00
16 lines
557 B
C#
16 lines
557 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(ISeedingCleanupCapable downloadService, List<ITorrentItemWrapper> clientDownloads);
|
|
}
|