Enumerationswift-package-manager 6.0.1PackageGraph
PinState
PinsStore.swift:37enum PinState
Cases
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (11) members.
Types
Typealiases
Type members
init(pinsFile: AbsolutePath, workingDirectory: AbsolutePath, fileSystem: FileSystem, mirrors: DependencyMirrors
) throws Create a new pins store.
Instance members
let originHash: String?
var pins: Pins
The current pins.
func add(Pin
) Add a pin.
func pin(packageRef: PackageReference, state: PinState
) Pin a repository at a version.
func remove(Pin
) Remove a pin.
func saveState(toolsVersion: ToolsVersion, originHash: String?
) throws func schemeVersion(
) throws -> Int func unpinAll(
) Unpin all of the currently pinned dependencies.
Citizens in PackageGraph
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
Instance members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.