MCPcopy Index your code
hub / github.com/dagger/dagger / BaseVersion

Function BaseVersion

engine/version.go:138–142  ·  view source on GitHub ↗
(version string)

Source from the content-addressed store, hash-verified

136}
137
138func BaseVersion(version string) string {
139 version = strings.TrimSuffix(version, semver.Build(version))
140 version = strings.TrimSuffix(version, semver.Prerelease(version))
141 return version
142}
143
144func IsDevVersion(version string) bool {
145 if version == "" {

Callers 11

ParseModuleConfigFunction · 0.92
dangImplForFunction · 0.92
initFromModConfigMethod · 0.92
moduleSourceAsModuleMethod · 0.92
loadDependencyModulesMethod · 0.92
opSDKProviderFunction · 0.92
TestBaseVersionFunction · 0.85

Calls 1

BuildMethod · 0.65

Tested by 1

TestBaseVersionFunction · 0.68