MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSandboxEnabledSetting

Function getSandboxEnabledSetting

src/utils/sandbox/sandbox-adapter.ts:459–467  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

457})
458
459function getSandboxEnabledSetting(): boolean {
460 try {
461 const settings = getSettings_DEPRECATED()
462 return settings?.sandbox?.enabled ?? false
463 } catch (error) {
464 logForDebugging(`Failed to get settings for sandbox check: ${error}`)
465 return false
466 }
467}
468
469function isAutoAllowBashIfSandboxedEnabled(): boolean {
470 const settings = getSettings_DEPRECATED()

Callers 3

isSandboxRequiredFunction · 0.85
isSandboxingEnabledFunction · 0.85

Calls 1

logForDebuggingFunction · 0.85

Tested by

no test coverage detected