You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/TSCUtility/Version.swift
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,8 @@ public extension Version {
109
109
///
110
110
/// - Parameters:
111
111
/// - string: The string to parse.
112
-
init?(string:String){
112
+
/// - lenient: Boolean indicating if partial strings should be parsed. Infers that strings without an explicit patch version have a patch version of zero. Defaults to false.
0 commit comments