MCPcopy Create free account
hub / github.com/alibaba/open-code-review / Error

Method Error

internal/gitcmd/version.go:43–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (e *VersionTooOldError) Error() string {
44 return fmt.Sprintf(
45 "git %s is older than the minimum supported version %s; consider upgrading git",
46 e.Current, e.Minimum,
47 )
48}
49
50func ParseGitVersion(s string) (GitVersion, error) {
51 i := 0

Callers 15

TestWriter_DefaultFunction · 0.45
TestQuietFunction · 0.45
TestSwapFunction · 0.45
TestSwap_ComposableFunction · 0.45
TestDefaultConfigFunction · 0.45
TestResolveEnvFunction · 0.45
TestLoadFromJSONFunction · 0.45
TestResolveConfigFunction · 0.45
TestGetMeterFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestWriter_DefaultFunction · 0.36
TestQuietFunction · 0.36
TestSwapFunction · 0.36
TestSwap_ComposableFunction · 0.36
TestDefaultConfigFunction · 0.36
TestResolveEnvFunction · 0.36
TestLoadFromJSONFunction · 0.36
TestResolveConfigFunction · 0.36
TestGetMeterFunction · 0.36