MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / walkFileRedirect

Function walkFileRedirect

source code/utils/bash/ast.ts:1073–1130  ·  view source on GitHub ↗

* Extract operator + target from a `file_redirect` node. The target must be * a static word or string.

(
  node: Node,
  innerCommands: SimpleCommand[],
  varScope: Map<string, string>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

walkRedirectedStatementFunction · 0.85
walkCommandFunction · 0.85

Calls 4

tooComplexFunction · 0.85
stripRawStringFunction · 0.85
walkStringFunction · 0.85
walkArgumentFunction · 0.85

Tested by

no test coverage detected