FetchDetails
Additional information about a fetch
RegistryDownloadsManager.swift:337struct FetchDetails
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (8) members.
Typealiases
Type members
init(fileSystem: FileSystem, path: AbsolutePath, cachePath: AbsolutePath?, registryClient: RegistryClient, delegate: Delegate?
)
Instance members
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
)
Citizens in PackageRegistry
Conformances
protocol Equatable
A type that can be compared for value equality.
Instance members
let fromCache: Bool
Indicates if the repository was fetched from the cache or from the remote.
let updatedCache: Bool
Indicates whether the repository was already present in the cache and updated or if a clean fetch was performed.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.