Skip to content

Commit f2c7c21

Browse files
committed
Change access level of PackageReference.computeDefaultName to internal
1 parent cbc2e3e commit f2c7c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageModel/PackageReference.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public struct PackageReference: Codable {
2828
}
2929

3030
/// Compute the default name of a package given its URL.
31-
public static func computeDefaultName(fromURL url: String) -> String {
31+
internal static func computeDefaultName(fromURL url: String) -> String {
3232
#if os(Windows)
3333
let isSeparator : (Character) -> Bool = { $0 == "/" || $0 == "\\" }
3434
#else

0 commit comments

Comments
 (0)