Enumeration Caseswift-package-manager 6.0.1PackageDescription
writeToPackageDirectory(reason:)
Create a permission to modify files in the package’s directory.
Target.swift:1474- SwiftPM
- 5.6+
case writeToPackageDirectory(reason: String)
Parameters
- reason
A reason why the permission is needed. This is shown to the user when permission is sought.
The command plug-in requires permission to modify the files under the package directory. The reason
string is shown to the user at the time of request for approval, explaining why the plug-in requests access.
See also
case allowNetworkConnections(scope: PluginNetworkPermissionScope, reason: String)
Create a permission to make network connections.