DefaultIdentityResolver
IdentityResolver.swift:25struct DefaultIdentityResolver
struct DefaultIdentityResolver
import PackageModel
protocol IdentityResolver
init(locationMapper: @escaping (String) -> String = { $0 }, identityMapper: @escaping (PackageIdentity) throws -> PackageIdentity = { $0 })
func mappedIdentity(for identity: PackageIdentity) throws -> PackageIdentity
func mappedLocation(for location: String) -> String
func resolveIdentity(for path: AbsolutePath) throws -> PackageIdentity
func resolveIdentity(for url: SourceControlURL) throws -> PackageIdentity
func resolveIdentity(for packageKind: PackageReference.Kind) throws -> PackageIdentity