( filePath: string, toolPermissionContext: ToolPermissionContext, )
| 4065 | } |
| 4066 | |
| 4067 | function isFileReadDenied( |
| 4068 | filePath: string, |
| 4069 | toolPermissionContext: ToolPermissionContext, |
| 4070 | ): boolean { |
| 4071 | const denyRule = matchingRuleForInput( |
| 4072 | filePath, |
| 4073 | toolPermissionContext, |
| 4074 | 'read', |
| 4075 | 'deny', |
| 4076 | ) |
| 4077 | return denyRule !== null |
| 4078 | } |
no test coverage detected