MCPcopy Index your code
hub / github.com/apecloud/kubeblocks / DefaultLess

Function DefaultLess

pkg/controller/model/transform_utils.go:213–220  ·  view source on GitHub ↗
(v1, v2 graph.Vertex)

Source from the content-addressed store, hash-verified

211}
212
213func DefaultLess(v1, v2 graph.Vertex) bool {
214 o1, ok1 := v1.(*ObjectVertex)
215 o2, ok2 := v2.(*ObjectVertex)
216 if !ok1 || !ok2 {
217 return false
218 }
219 return o1.String() < o2.String()
220}

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…