Instance Propertyswift-package-manager 6.0.3PackageModel
destination
The relative location of the resource in the resource bundle.
var destination: RelativePath { get throws }
The relative location of the resource in the resource bundle.
var destination: RelativePath { get throws }
s12PackageModel8ResourceV11destination6Basics12RelativePathVvp
What are these?2OM27
import PackageModel
struct Resource
An individual resource file and its corresponding rule.
struct RelativePath
Represents a relative file system path. A relative path never starts with a /
character, and holds a normalized string representation. As with AbsolutePath, the normalization is strictly syntactic, and does not access the file system in any way.
init(from decoder: any Decoder) throws
init(rule: Rule, path: AbsolutePath)
static let localizationDirectoryExtension: String
let path: AbsolutePath
The path of the resource file.
let rule: Rule
The rule associated with this resource.
enum Rule