MCPcopy Create free account
hub / github.com/VPSDance/ai-proxy-rules / sortKeys

Function sortKeys

scripts/sync/cache.ts:175–177  ·  view source on GitHub ↗
(record: Record<string, string>)

Source from the content-addressed store, hash-verified

173}
174
175function sortKeys(record: Record<string, string>): Record<string, string> {
176 return Object.fromEntries(Object.entries(record).sort(([a], [b]) => a.localeCompare(b)));
177}

Callers 2

pruneOrphansMethod · 0.85
writeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected