EditionsDiskUsageProvider

@MainActor
public protocol EditionsDiskUsageProvider

Protocol to get disk usage from downloaded editions.

  • Async method that provides through callback the total disk usage in bytes by all downloaded editions.

    Declaration

    Swift

    @MainActor
    func totalDiskUsageByDownloadedEditionsInBytes(callback: @escaping (UInt64) -> Void)
  • Async method that provides through callback the disk usage in bytes by the editions with id editionId.

    Declaration

    Swift

    @MainActor
    func diskUsageByDownloadedEdition(editionId: UUID, callback: @escaping (UInt64) -> Void)