Enumerationswift-package-manager 6.1.2Workspace
CheckoutState
A checkout state represents the current state of a repository.
enum CheckoutStateA state will always have a revision. It can also have a branch or a version but not both.
A checkout state represents the current state of a repository.
enum CheckoutStateA state will always have a revision. It can also have a branch or a version but not both.
import Workspacecase revision(_: Revision)case version(_: Version, revision: Revision)case branch(name: String, revision: Revision)protocol CopyableA type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Escapableprotocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
var debugDescription: String { get }var description: String { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.