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

Function getPipelineSegments

source code/utils/powershell/parser.ts:1692–1696  ·  view source on GitHub ↗
(
  parsed: ParsedPowerShellCommand,
)

Source from the content-addressed store, hash-verified

1690 * Returns each pipeline's commands separately.
1691 */
1692export function getPipelineSegments(
1693 parsed: ParsedPowerShellCommand,
1694): ParsedStatement[] {
1695 return parsed.statements
1696}
1697
1698/**
1699 * True if a redirection target is PowerShell's `$null` automatic variable.

Callers 2

checkPermissionModeFunction · 0.85
isReadOnlyCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected