PackageSearchClient
PackageMetadata.swift:111struct PackageSearchClient
Citizens in PackageMetadata
Type members
init(registryClient: RegistryClient, fileSystem: FileSystem, observabilityScope: ObservabilityScope
)
Instance members
func findPackages(String, callback: @escaping (Result<[Package], Error>) -> Void
) func lookupIdentities(scmURL: SourceControlURL, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<Set<PackageIdentity>, Error>) -> Void
) func lookupSCMURLs(package: PackageIdentity, timeout: DispatchTimeInterval?, observabilityScope: ObservabilityScope, callbackQueue: DispatchQueue, completion: @escaping (Result<Set<SourceControlURL>, Error>) -> Void
)