ManifestLoaderProtocol
Protocol for the manifest loader interface.
ManifestLoader.swift:101protocol ManifestLoaderProtocol
Requirements
Instance members
func load(manifestPath: AbsolutePath, manifestToolsVersion: ToolsVersion, packageIdentity: PackageIdentity, packageKind: PackageReference.Kind, packageLocation: String, packageVersion: (version: Version?, revision: String?)?, identityResolver: IdentityResolver, dependencyMapper: DependencyMapper, fileSystem: FileSystem, observabilityScope: ObservabilityScope, delegateQueue: DispatchQueue, callbackQueue: DispatchQueue, completion: @escaping (Result<Manifest, Error>) -> Void
) Load the manifest for the package at
path
.func purgeCache(observabilityScope: ObservabilityScope
) Reset any internal cache held by the manifest loader and purge any entries in a shared cache
func resetCache(observabilityScope: ObservabilityScope
) Reset any internal cache held by the manifest loader.
Citizens in PackageLoading
Instance members
func load(packagePath: AbsolutePath, packageIdentity: PackageIdentity, packageKind: PackageReference.Kind, packageLocation: String, packageVersion: (version: Version?, revision: String?)?, currentToolsVersion: ToolsVersion, identityResolver: IdentityResolver, dependencyMapper: DependencyMapper, fileSystem: FileSystem, observabilityScope: ObservabilityScope, delegateQueue: DispatchQueue, callbackQueue: DispatchQueue
) async throws -> Manifest func load(packagePath: AbsolutePath, packageIdentity: PackageIdentity, packageKind: PackageReference.Kind, packageLocation: String, packageVersion: (version: Version?, revision: String?)?, currentToolsVersion: ToolsVersion, identityResolver: IdentityResolver, dependencyMapper: DependencyMapper, fileSystem: FileSystem, observabilityScope: ObservabilityScope, delegateQueue: DispatchQueue, callbackQueue: DispatchQueue, completion: @escaping (Result<Manifest, Error>) -> Void
)