Instance Methodswift-package-manager 6.0.1PackageGraph
hash(into:)
ResolvedModule.swift:286func hash(into hasher: inout Hasher)
func hash(into hasher: inout Hasher)
s12PackageGraph14ResolvedModuleV10DependencyO4hash4intoys6HasherVz_tF
What are these?7JD97
import PackageGraph
enum Dependency
Represents dependency of a resolved module.
struct ResolvedModule
Represents a fully resolved module. All the dependencies for this module are also stored as resolved.
@frozen struct Hasher
The universal hash function used by Set
and Dictionary
.
var conditions: [PackageCondition] { get }
var dependencies: [ResolvedModule.Dependency] { get }
Returns the direct dependencies of the underlying dependency, across the package graph.
var description: String { get }
var id: ID { get }
var module: ResolvedModule? { get }
var packageDependencies: [ResolvedModule.Dependency] { get }
Returns the direct dependencies of the underlying dependency, limited to the module’s package.
var product: ResolvedProduct? { get }
static func == (lhs: ResolvedModule.Dependency, rhs: ResolvedModule.Dependency) -> Bool
func satisfies(_ environment: BuildEnvironment) -> Bool
struct ID