Enumerationswift-package-manager 6.0.1SourceControl
Location
Repository.swift:56enum Location
Cases
Other members in extension
Type members
init(location: Location
) init(path: AbsolutePath
) Create a specifier based on a path.
init(url: SourceControlURL
) Create a specifier on a URL.
Instance members
var basename: String
Returns the cleaned basename for the specifier.
var description: String
let location: Location
var url: String
The location of the repository as string.
Citizens in SourceControl
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Sendable
Instance members
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.