MCPcopy Create free account
hub / github.com/daodst/chat / Less

Method Less

roomserver/state/state.go:1230–1230  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

1228
1229func (s stateEntrySorter) Len() int { return len(s) }
1230func (s stateEntrySorter) Less(i, j int) bool { return s[i].LessThan(s[j]) }
1231func (s stateEntrySorter) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
1232
1233type stateBlockNIDListMap []types.StateBlockNIDList

Callers

nothing calls this directly

Calls 1

LessThanMethod · 0.45

Tested by

no test coverage detected