Instance Propertyswift-package-manager 6.0.1PackagePlugin
directory
PackageModel.swift:269This declaration has been renamed to SwiftSourceModuleTarget.directoryURL.
This declaration was deprecated in SwiftPM 6.0.
let directory: Path
This declaration has been renamed to SwiftSourceModuleTarget.directoryURL.
This declaration was deprecated in SwiftPM 6.0.
let directory: Path
s13PackagePlugin23SwiftSourceModuleTargetV9directoryAA4PathVvp
What are these?5B6GW
import PackagePlugin
struct SwiftSourceModuleTarget
Represents a target consisting of a source code module compiled using Swift.
let directoryURL: URL
The absolute path of the target directory in the local file system.
struct Path
A simple representation of a path in the file system.
let compilationConditions: [String]
Any custom compilation conditions specified for the Swift target in the package manifest.
let dependencies: [TargetDependency]
let id: ID
let kind: ModuleKind
let linkedFrameworks: [String]
let linkedLibraries: [String]
let moduleName: String
let name: String
let pluginGeneratedResources: [URL]
Paths of any resources generated by other plugins that have been applied to the given target before the plugin currently being executed.
let pluginGeneratedSources: [URL]
Paths of any sources generated by other plugins that have been applied to the given target before the plugin currently being executed.
let sourceFiles: FileList