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

Function isFileDescriptor

src/utils/bash/commands.ts:869–870  ·  view source on GitHub ↗
(p: ParseEntry | undefined)

Source from the content-addressed store, hash-verified

867 kept: ParseEntry[],
868): { skip: number; dangerous: boolean } {
869 const isFileDescriptor = (p: ParseEntry | undefined): p is string =>
870 typeof p === 'string' && /^\d+$/.test(p.trim())
871
872 // Handle > and >> operators
873 if (isOperator(part, '>') || isOperator(part, '>>')) {

Callers 1

handleRedirectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected