MCPcopy Create free account
hub / github.com/devspace-sh/devspace / LessThan

Method LessThan

pkg/util/constraint/version.go:307–309  ·  view source on GitHub ↗

LessThan tests if this version is less than another version.

(o *Version)

Source from the content-addressed store, hash-verified

305
306// LessThan tests if this version is less than another version.
307func (v *Version) LessThan(o *Version) bool {
308 return v.Compare(o) < 0
309}
310
311// LessThanOrEqual tests if this version is less than or equal to another version.
312func (v *Version) LessThanOrEqual(o *Version) bool {

Callers 4

TestLessThanFunction · 0.95
builder.goFile · 0.80
LessMethod · 0.80
constraintPessimisticFunction · 0.80

Calls 1

CompareMethod · 0.95

Tested by 1

TestLessThanFunction · 0.76