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

Function refreshConfig

src/utils/sandbox/sandbox-adapter.ts:798–803  ·  view source on GitHub ↗

* Refresh sandbox config from current settings immediately * Call this after updating permissions to avoid race conditions

()

Source from the content-addressed store, hash-verified

796 * Call this after updating permissions to avoid race conditions
797 */
798function refreshConfig(): void {
799 if (!isSandboxingEnabled()) return
800 const settings = getSettings_DEPRECATED()
801 const newConfig = convertToSandboxRuntimeConfig(settings)
802 BaseSandboxManager.updateConfig(newConfig)
803}
804
805/**
806 * Reset sandbox state and clear memoized values

Callers

nothing calls this directly

Calls 2

isSandboxingEnabledFunction · 0.85

Tested by

no test coverage detected