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

Function saveCustom

packages/opencode/src/cli/cmd/run/footer.question.tsx:112–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111
112 const saveCustom = () => {
113 const cur = state()
114 const next = questionSave(cur, props.request)
115 if (next.state !== cur) {
116 setState(next.state)
117 }
118
119 if (!next.reply) {
120 return
121 }
122
123 void beginReply(next.reply)
124 }
125
126 const choose = (selected: number) => {
127 const base = state()

Callers

nothing calls this directly

Calls 4

questionSaveFunction · 0.90
setStateFunction · 0.85
beginReplyFunction · 0.85
stateFunction · 0.70

Tested by

no test coverage detected