using Cleanuparr.Domain.Entities; namespace Cleanuparr.Infrastructure.Features.DownloadClient; /// /// Download clients that can report the on-disk paths their downloads claim, for orphaned-files cleanup. /// Implemented by every current client (torrent and usenet). /// public interface IOrphanClaimsCapable : IDownloadService { /// /// Fetches all downloads regardless of their state, without per-item tracker or properties calls. /// Used by the orphaned files cleanup to identify which paths are claimed by active downloads. /// /// A list of all downloads. Task> GetAllDownloadsLite(); /// /// Resolves the on-disk paths claimed by the given downloads. /// /// The distinct, remapped paths claimed by the downloads. Task> GetClaimedPathsAsync(IReadOnlyList downloads); }