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

Function getPipelineSegments

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

Source from the content-addressed store, hash-verified

1688 * Returns each pipeline's commands separately.
1689 */
1690export function getPipelineSegments(
1691 parsed: ParsedPowerShellCommand,
1692): ParsedStatement[] {
1693 return parsed.statements
1694}
1695
1696/**
1697 * 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