using Cleanuparr.Domain.Entities;
using Cleanuparr.Domain.Enums;
namespace Cleanuparr.Infrastructure.Features.DownloadClient;
public sealed record BlockFilesResult
{
///
/// True if the download should be removed; otherwise false.
///
public bool ShouldRemove { get; set; }
///
/// True if the download is private; otherwise false.
///
public bool IsPrivate { get; set; }
public bool Found { get; set; }
public DeleteReason DeleteReason { get; set; } = DeleteReason.None;
///
/// The matched torrent located in the download client during evaluation. Populated when
/// is true so that callers (e.g. LazyLibrarian) can act on it
/// without a second lookup.
///
public ITorrentItemWrapper? Torrent { get; set; }
}