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

Function rememberLocal

packages/opencode/src/cli/cmd/run/runtime.ts:367–369  ·  view source on GitHub ↗
(commit: StreamCommit, after?: LocalReplayAnchor)

Source from the content-addressed store, hash-verified

365 })
366 const footer = shell.footer
367 const rememberLocal = (commit: StreamCommit, after?: LocalReplayAnchor) => {
368 state.localRows = [...state.localRows, { commit, after }].slice(-LOCAL_REPLAY_ROW_LIMIT)
369 }
370
371 const loadCatalog = async (): Promise<void> => {
372 if (footer.isClosed) {

Callers 1

runQueueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected