MCPcopy Index your code
hub / github.com/coder/mux / sortPaths

Function sortPaths

src/node/multiProject/gitRootDiscovery.test.ts:20–22  ·  view source on GitHub ↗
(paths: readonly string[])

Source from the content-addressed store, hash-verified

18}
19
20function sortPaths(paths: readonly string[]): string[] {
21 return [...paths].sort((left, right) => left.localeCompare(right));
22}
23
24afterEach(async () => {
25 await Promise.all(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected