Instance Propertyswift-package-manager 6.0.1PackagePlugin
directoryURL
The absolute path of the target directory in the local file system.
- SwiftPM
- 6.0+
let directoryURL: URL
The absolute path of the target directory in the local file system.
let directoryURL: URL
s13PackagePlugin23SwiftSourceModuleTargetV12directoryURL20FoundationEssentials0H0Vvp
What are these?2YUAU
import PackagePlugin
struct SwiftSourceModuleTarget
Represents a target consisting of a source code module compiled using Swift.
struct URL
A URL is a type that can potentially contain the location of a resource on a remote server, the path of a local file on disk, or even an arbitrary piece of encoded data.
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
let directory: Path