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

Function flush

packages/desktop/scripts/finalize-latest-json.ts:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 let url = ""
69
70 const flush = () => {
71 if (!url) return
72 files.push({ url })
73 url = ""
74 }
75
76 for (const line of lines) {
77 const trim = line.trim()

Callers 1

parseFunction · 0.70

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected