(input)
| 123 | return input.file_path |
| 124 | }, |
| 125 | backfillObservableInput(input) { |
| 126 | // hooks.mdx documents file_path as absolute; expand so hook allowlists |
| 127 | // can't be bypassed via ~ or relative paths. |
| 128 | if (typeof input.file_path === 'string') { |
| 129 | input.file_path = expandPath(input.file_path) |
| 130 | } |
| 131 | }, |
| 132 | async preparePermissionMatcher({ file_path }) { |
| 133 | return pattern => matchWildcardPattern(pattern, file_path) |
| 134 | }, |
nothing calls this directly
no test coverage detected