( filePath: string, toolPermissionContext: ToolPermissionContext, )
| 3986 | |
| 3987 | |
| 3988 | function isFileReadDenied( |
| 3989 | filePath: string, |
| 3990 | toolPermissionContext: ToolPermissionContext, |
| 3991 | ): boolean { |
| 3992 | const denyRule = matchingRuleForInput( |
| 3993 | filePath, |
| 3994 | toolPermissionContext, |
| 3995 | 'read', |
| 3996 | 'deny', |
| 3997 | ) |
| 3998 | return denyRule !== null |
| 3999 | } |
no test coverage detected