We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f8408 commit 566a08eCopy full SHA for 566a08e
Sources/PackageModel/PackageReference.swift
@@ -28,7 +28,7 @@ public struct PackageReference: Codable {
28
}
29
30
/// Compute the default name of a package given its URL.
31
- internal static func computeDefaultName(fromURL url: String) -> String {
+ public static func computeDefaultName(fromURL url: String) -> String {
32
#if os(Windows)
33
let isSeparator : (Character) -> Bool = { $0 == "/" || $0 == "\\" }
34
#else
0 commit comments