FileSystem
PackageDependencyDescription.swift:26struct FileSystem
struct FileSystem
import PackageModel
enum PackageDependency
Represents a package dependency.
static func fileSystem(identity: PackageIdentity, nameForTargetDependencyResolutionOnly: String?, path: AbsolutePath, productFilter: ProductFilter) -> PackageDependency
static func localSourceControl(identity: PackageIdentity, nameForTargetDependencyResolutionOnly: String?, path: AbsolutePath, requirement: SourceControl.Requirement, productFilter: ProductFilter) -> PackageDependency
static func registry(identity: PackageIdentity, requirement: Registry.Requirement, productFilter: ProductFilter) -> PackageDependency
static func remoteSourceControl(identity: PackageIdentity, nameForTargetDependencyResolutionOnly: String?, url: SourceControlURL, requirement: SourceControl.Requirement, productFilter: ProductFilter) -> PackageDependency
static func sourceControl(identity: PackageIdentity, nameForTargetDependencyResolutionOnly: String?, location: SourceControl.Location, requirement: SourceControl.Requirement, productFilter: ProductFilter) -> PackageDependency
var description: String { get }
var explicitNameForModuleDependencyResolutionOnly: String? { get }
var identity: PackageIdentity { get }
var nameForModuleDependencyResolutionOnly: String { get }
var productFilter: ProductFilter { get }
func encode(to encoder: Encoder) throws
func filtered(by productFilter: ProductFilter) -> PackageDependency
struct Registry
struct SourceControl
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
let identity: PackageIdentity
let nameForTargetDependencyResolutionOnly: String?
let path: AbsolutePath
let productFilter: ProductFilter
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
import PackageModelSyntax
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol Escapable