PluginPermission.writeToPackageDirectory(reason:)
Create a permission to modify files in the package’s directory.
Declaration
case writeToPackageDirectory(reason: String)Parameters
- reason:
A reason why the permission is needed. This is shown to the user when permission is sought.
Discussion
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.