Instance Propertyswift-package-manager 6.0.3PackageModel
rule
The rule associated with this resource.
let rule: Rule
The rule associated with this resource.
let rule: Rule
import PackageModel
struct Resource
An individual resource file and its corresponding rule.
enum Rule
init(from decoder: any Decoder) throws
init(rule: Rule, path: AbsolutePath)
static let localizationDirectoryExtension: String
var destination: RelativePath { get throws }
The relative location of the resource in the resource bundle.
let path: AbsolutePath
The path of the resource file.