using System.Threading; using System.Threading.Tasks; using MediaBrowser.Controller.Entities; namespace MediaBrowser.Controller.IO; /// /// Interface IPathManager. /// public interface IExternalDataManager { /// /// Deletes all external item data. /// /// The item. /// The cancellation token. /// Task. Task DeleteExternalItemDataAsync(BaseItem item, CancellationToken cancellationToken); /// /// Deletes only the filesystem-side external item data (attachments, subtitles, trickplay, chapter images). /// Use this when DB-side cleanup is already handled by another code path (e.g. IItemPersistenceService.DeleteItem). /// /// The item. void DeleteExternalItemFiles(BaseItem item); }