MCPcopy Create free account
hub / github.com/anomalyco/opencode / cmp

Function cmp

packages/app/src/context/sync.tsx:13–13  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

11}
12
13const cmp = (a: string, b: string) => (a < b ? -1 : a > b ? 1 : 0)
14
15type OptimisticStore = {
16 message: Record<string, Message[] | undefined>

Callers 2

sortPartsFunction · 0.70
mergeOptimisticPageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected