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