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

Function resultPaths

agent/filefinder/engine_test.go:226–233  ·  view source on GitHub ↗
(results []filefinder.Result)

Source from the content-addressed store, hash-verified

224}
225
226func resultPaths(results []filefinder.Result) []string {
227 paths := make([]string, len(results))
228 for i, r := range results {
229 paths[i] = r.Path
230 }
231 slices.Sort(paths)
232 return paths
233}

Callers 1

requireResultHasPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected