(filePath: string)
| 414 | // merging in the background; do not sequence identifier-by-identifier, and do |
| 415 | // not add a post-match settle/debounce delay. See PR #23771. |
| 416 | async function requestDocumentDiagnostics(filePath: string) { |
| 417 | const state = documentPullState() |
| 418 | if (!state.supported) return { handled: false, matched: false } |
| 419 | return requestDiagnostics( |
| 420 | filePath, |
| 421 | [ |
| 422 | requestDiagnosticReport(filePath), |
| 423 | ...state.documentIdentifiers.map((identifier) => requestDiagnosticReport(filePath, identifier)), |
| 424 | ], |
| 425 | (results) => hasCurrentFileDiagnostics(filePath, results), |
| 426 | ) |
| 427 | } |
| 428 | |
| 429 | async function requestFullDiagnostics(filePath: string) { |
| 430 | const documentState = documentPullState() |
no test coverage detected