( filePath: string, toolPermissionContext: ToolPermissionContext, )
| 3991 | |
| 3992 | |
| 3993 | function isFileReadDenied( |
| 3994 | filePath: string, |
| 3995 | toolPermissionContext: ToolPermissionContext, |
| 3996 | ): boolean { |
| 3997 | const denyRule = matchingRuleForInput( |
| 3998 | filePath, |
| 3999 | toolPermissionContext, |
| 4000 | 'read', |
| 4001 | 'deny', |
| 4002 | ) |
| 4003 | return denyRule !== null |
| 4004 | } |
no test coverage detected