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

Function getFileRedirections

src/utils/powershell/parser.ts:1713–1719  ·  view source on GitHub ↗
(
  parsed: ParsedPowerShellCommand,
)

Source from the content-addressed store, hash-verified

1711 */
1712// exported for testing
1713export function getFileRedirections(
1714 parsed: ParsedPowerShellCommand,
1715): ParsedRedirection[] {
1716 return getAllRedirections(parsed).filter(
1717 r => !r.isMerging && !isNullRedirectionTarget(r.target),
1718 )
1719}
1720
1721/**
1722 * Derive security-relevant flags from the parsed command structure.

Callers 1

Calls 2

getAllRedirectionsFunction · 0.85
isNullRedirectionTargetFunction · 0.85

Tested by

no test coverage detected