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

Function normalizeAllowOnly

src/tools/BashTool/prompt.ts:189–190  ·  view source on GitHub ↗
(paths: string[])

Source from the content-addressed store, hash-verified

187 // cross-user global prompt cache. The sandbox already sets $TMPDIR at runtime.
188 const claudeTempDir = getClaudeTempDir()
189 const normalizeAllowOnly = (paths: string[]): string[] =>
190 [...new Set(paths)].map(p => (p === claudeTempDir ? '$TMPDIR' : p))
191
192 const filesystemConfig = {
193 read: {

Callers 1

getSimpleSandboxSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected