EditionsDiskUsageProvider

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

    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

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