Skip to content

Commit 601fa31

Browse files
committed
Use 'package' access for newly-promoted-to-public APIs
1 parent 9047a59 commit 601fa31

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/PackageModel/ManifestSourceGeneration.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public typealias ManifestCustomProductTypeSourceGenerator = (ProductDescription)
6262

6363

6464
/// Convenience initializers for package manifest structures.
65-
public extension SourceCodeFragment {
66-
65+
package extension SourceCodeFragment {
66+
6767
/// Instantiates a SourceCodeFragment to represent an entire manifest.
6868
init(
6969
from manifest: Manifest,
@@ -633,7 +633,7 @@ public struct SourceCodeFragment {
633633
self.subnodes = subnodes
634634
}
635635

636-
public func generateSourceCode(indent: String = "") -> String {
636+
package func generateSourceCode(indent: String = "") -> String {
637637
var string = literal
638638
if let subnodes {
639639
switch delimiters {

Sources/Workspace/Workspace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class Workspace {
9696
public let pinsStore: LoadableResult<PinsStore>
9797

9898
/// The file system on which the workspace will operate.
99-
public let fileSystem: any FileSystem
99+
package let fileSystem: any FileSystem
100100

101101
/// The host toolchain to use.
102102
private let hostToolchain: UserToolchain

0 commit comments

Comments
 (0)