Skip to content

Commit 0efea68

Browse files
zkiralyZsolt Kiraly
andauthored
Documentation fixes for PluginNetworkPermissionScope. (#6555)
Co-authored-by: Zsolt Kiraly <[email protected]>
1 parent ff526b3 commit 0efea68

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Sources/PackageDescription/PackageDescription.docc/Curation/PluginPermission.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@
66

77
- ``allowNetworkConnections(scope:reason:)``
88
- ``writeToPackageDirectory(reason:)``
9+
10+
### Allow network connection
11+
12+
- ``PluginNetworkPermissionScope``

Sources/PackageDescription/Target.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,9 @@ public enum PluginPermission {
14861486
case writeToPackageDirectory(reason: String)
14871487
}
14881488

1489-
/// The scope of a network permission. This can be none, local connections only, or all connections.
1489+
/// The scope of a network permission.
1490+
///
1491+
/// The scope can be none, local connections only, or all connections.
14901492
@available(_PackageDescription, introduced: 5.9)
14911493
public enum PluginNetworkPermissionScope {
14921494
/// Do not allow network access.

0 commit comments

Comments
 (0)