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