Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celer-pkg/celer
/ normalizeVersion
Method
normalizeVersion
configs/toolchain_windows.go:394–399 ·
view source on GitHub ↗
append ".0" as suffix.
(version string)
Source
from the content-addressed store, hash-verified
392
393
// append ".0" as suffix.
394
func
(w WindowsKit) normalizeVersion(version string) string {
395
if
strings.Count(version,
"."
) == 2 {
396
return
version +
".0"
397
}
398
return
version
399
}
Callers
1
Detect
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected