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

Function filterControlOperators

src/utils/bash/commands.ts:251–257  ·  view source on GitHub ↗
(
  commandsAndOperators: string[],
)

Source from the content-addressed store, hash-verified

249}
250
251export function filterControlOperators(
252 commandsAndOperators: string[],
253): string[] {
254 return commandsAndOperators.filter(
255 part => !(ALL_SUPPORTED_CONTROL_OPERATORS as Set<string>).has(part),
256 )
257}
258
259/**
260 * @deprecated Legacy regex/shell-quote path. Only used when tree-sitter is

Callers 1

splitCommand_DEPRECATEDFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected