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

Function push

packages/app/src/context/global-sync/queue.ts:37–42  ·  view source on GitHub ↗
(directory: string)

Source from the content-addressed store, hash-verified

35 }
36
37 const push = (directory: string) => {
38 if (!directory) return
39 queued.set(key(directory), directory)
40 if (input.paused()) return
41 schedule()
42 }
43
44 const refresh = () => {
45 root = true

Callers

nothing calls this directly

Calls 3

scheduleFunction · 0.70
keyFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected