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

Function constraintLessThan

pkg/util/constraint/constraint.go:220–222  ·  view source on GitHub ↗
(v, c *Version)

Source from the content-addressed store, hash-verified

218}
219
220func constraintLessThan(v, c *Version) bool {
221 return prereleaseCheck(v, c) && v.Compare(c) == -1
222}
223
224func constraintGreaterThanEqual(v, c *Version) bool {
225 return prereleaseCheck(v, c) && v.Compare(c) >= 0

Callers

nothing calls this directly

Calls 2

prereleaseCheckFunction · 0.85
CompareMethod · 0.80

Tested by

no test coverage detected