MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / compareText

Function compareText

graph-ui/src/provider/closure.ts:212–217  ·  view source on GitHub ↗

Ordinal comparison. See the note on determinism in the file header.

(a: string, b: string)

Source from the content-addressed store, hash-verified

210
211/** Ordinal comparison. See the note on determinism in the file header. */
212function compareText(a: string, b: string): number {
213 if (a === b) {
214 return 0;
215 }
216 return a < b ? -1 : 1;
217}
218
219/**
220 * A callee the index would not resolve, as the honest reference to it.

Callers 1

getClosureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected