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

Function constraintLessThanEqual

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

Source from the content-addressed store, hash-verified

226}
227
228func constraintLessThanEqual(v, c *Version) bool {
229 return prereleaseCheck(v, c) && v.Compare(c) <= 0
230}
231
232func constraintPessimistic(v, c *Version) bool {
233 // Using a pessimistic constraint with a pre-release, restricts versions to pre-releases

Callers

nothing calls this directly

Calls 2

prereleaseCheckFunction · 0.85
CompareMethod · 0.80

Tested by

no test coverage detected