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

Function acceptable

packages/core/src/shell.ts:214–218  ·  view source on GitHub ↗
(configShell?: string)

Source from the content-addressed store, hash-verified

212}
213
214export function acceptable(configShell?: string) {
215 if (configShell) return select(configShell, { acceptable: true })
216 defaultAcceptable ??= select(process.env.SHELL, { acceptable: true })
217 return defaultAcceptable
218}
219acceptable.reset = () => {
220 defaultAcceptable = undefined
221}

Callers

nothing calls this directly

Calls 1

selectFunction · 0.70

Tested by

no test coverage detected