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

Method String

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

Source from the content-addressed store, hash-verified

20var gitVersionMin = GitVersion{Major: 2, Minor: 41, Patch: 0}
21
22func (v GitVersion) String() string {
23 return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch)
24}
25
26// AtLeast reports whether v is greater than or equal to o.
27func (v GitVersion) AtLeast(o GitVersion) bool {

Callers 2

RunSplitMethod · 0.45
StreamMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected