MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isSandboxRequired

Function isSandboxRequired

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

Source from the content-addressed store, hash-verified

477}
478
479function isSandboxRequired(): boolean {
480 const settings = getSettings_DEPRECATED()
481 return (
482 getSandboxEnabledSetting() &&
483 (settings?.sandbox?.failIfUnavailable ?? false)
484 )
485}
486
487/**
488 * Check if the current platform is supported for sandboxing (memoized)

Callers

nothing calls this directly

Calls 1

getSandboxEnabledSettingFunction · 0.85

Tested by

no test coverage detected