MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / Less

Method Less

mob.go:83–87  ·  view source on GitHub ↗
(rhs GitVersion)

Source from the content-addressed store, hash-verified

81}
82
83func (v GitVersion) Less(rhs GitVersion) bool {
84 return v.Major < rhs.Major ||
85 (v.Major == rhs.Major && v.Minor < rhs.Minor) ||
86 (v.Major == rhs.Major && v.Minor == rhs.Minor && v.Patch < rhs.Patch)
87}
88
89type Branch struct {
90 Name string

Callers 2

TestGitVersionCompareFunction · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestGitVersionCompareFunction · 0.64