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

Function isFilePatternTool

src/utils/settings/toolValidationConfig.ts:91–93  ·  view source on GitHub ↗
(toolName: string)

Source from the content-addressed store, hash-verified

89
90// Helper to check if a tool uses file patterns
91export function isFilePatternTool(toolName: string): boolean {
92 return TOOL_VALIDATION_CONFIG.filePatternTools.includes(toolName)
93}
94
95// Helper to check if a tool uses bash prefix patterns
96export function isBashPrefixTool(toolName: string): boolean {

Callers 1

validatePermissionRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected