RegistryDownloadsManager
RegistryDownloadsManager.swift:21class RegistryDownloadsManager
class RegistryDownloadsManager
import PackageRegistry
protocol Cancellable
init(fileSystem: FileSystem, path: AbsolutePath, cachePath: AbsolutePath?, registryClient: RegistryClient, delegate: Delegate?)
func cancel(deadline: DispatchTime) throws
Cancel any outstanding requests
func lookup(package: PackageIdentity, version: Version, observabilityScope: ObservabilityScope, delegateQueue: DispatchQueue, callbackQueue: DispatchQueue) async throws -> AbsolutePath
func lookup(package: PackageIdentity, version: Version, observabilityScope: ObservabilityScope, delegateQueue: DispatchQueue, callbackQueue: DispatchQueue, completion: @escaping (Result<AbsolutePath, Error>) -> Void)
func purgeCache(observabilityScope: ObservabilityScope)
func remove(package: PackageIdentity) throws
func reset(observabilityScope: ObservabilityScope)
struct FetchDetails
Additional information about a fetch
typealias Delegate = RegistryDownloadsManagerDelegate