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

Function restore

packages/app/src/pages/session.tsx:1696–1699  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1694 }
1695
1696 const restore = (id: string) => {
1697 if (!params.id || reverting()) return
1698 return restoreMutation.mutateAsync(id)
1699 }
1700
1701 const rolled = createMemo(() => {
1702 const id = revertMessageID()

Callers 9

permission.tsFile · 0.50
background-job.tsFile · 0.50
question.tsFile · 0.50
makeFunction · 0.50
makeFunction · 0.50
runFunction · 0.50
llm.tsFile · 0.50
makeFunction · 0.50
withTransactionMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected