MCPcopy Index your code
hub / github.com/anomalyco/opencode / cmp

Function cmp

packages/app/src/context/directory-sync.ts:9–9  ·  view source on GitHub ↗
(a: string, b: string)

Source from the content-addressed store, hash-verified

7import type { State } from "./global-sync/types"
8
9const cmp = (a: string, b: string) => (a < b ? -1 : a > b ? 1 : 0)
10const sessionFields = new Set([
11 "session_status",
12 "session_working",

Callers 1

createDirSyncContextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected