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

Function compareText

graph-ui/src/galaxy/hierarchy-layout.ts:248–253  ·  view source on GitHub ↗

Ordinaler Vergleich. Siehe Regel 1 im Kopf.

(a: string, b: string)

Source from the content-addressed store, hash-verified

246
247/** Ordinaler Vergleich. Siehe Regel 1 im Kopf. */
248function compareText(a: string, b: string): number {
249 if (a === b) {
250 return 0;
251 }
252 return a < b ? -1 : 1;
253}
254
255/**
256 * Wonach eine Ebene sortiert wird.

Callers 2

projectHierarchyFunction · 0.70
hierarchyIndexEdgesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected