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

Function isBashPrefixTool

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

Source from the content-addressed store, hash-verified

94
95// Helper to check if a tool uses bash prefix patterns
96export function isBashPrefixTool(toolName: string): boolean {
97 return TOOL_VALIDATION_CONFIG.bashPrefixTools.includes(toolName)
98}
99
100// Helper to get custom validation for a tool
101export function getCustomValidation(toolName: string) {

Callers 1

validatePermissionRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected