Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
13
const cmp = (a: string, b: string) => (a < b ? -1 : a > b ? 1 : 0)
14
15
type OptimisticStore = {
16
message: Record<string, Message[] | undefined>
Callers
2
sortParts
Function · 0.70
mergeOptimisticPage
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected