MCPcopy Index your code
hub / github.com/coder/coder / Len

Method Len

agent/filefinder/query.go:283–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281type resultHeap []Result
282
283func (h resultHeap) Len() int { return len(h) }
284func (h resultHeap) Less(i, j int) bool { return h[i].Score < h[j].Score }
285func (h resultHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
286func (h *resultHeap) Push(x interface{}) {

Callers 1

mergeAndScoreFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected