Initializerswift-package-manager 6.0.1PackageGraph
init(packages:dependencies:)
Create a package graph root.
init(packages: [AbsolutePath], dependencies: [PackageDependency] = [])
Create a package graph root.
init(packages: [AbsolutePath], dependencies: [PackageDependency] = [])
s12PackageGraph0aB9RootInputV8packages12dependenciesACSay6Basics12AbsolutePathVG_Say0A5Model0A10DependencyOGtcfc
What are these?6Y09Q
import PackageGraph
struct PackageGraphRootInput
Represents the input to the package graph root.
struct AbsolutePath
Represents an absolute file system path, independently of what (or whether anything at all) exists at that path in the file system at any given time. An absolute path always starts with a /
character, and holds a normalized string representation. This normalization is strictly syntactic, and does not access the file system in any way.
enum PackageDependency
Represents a package dependency.
let dependencies: [PackageDependency]
Top level dependencies to the graph.
let packages: [AbsolutePath]
The list of root packages.