(stub: ExternalDocument, reason: string)
| 157 | * (including fileSize) are preserved. |
| 158 | */ |
| 159 | export function markSkipped(stub: ExternalDocument, reason: string): ExternalDocument { |
| 160 | return { ...stub, content: '', contentDeferred: false, skippedReason: reason } |
| 161 | } |
| 162 | |
| 163 | /** Human-readable size-limit skip reason, e.g. "File exceeds the 10MB size limit". */ |
| 164 | export function sizeLimitSkipReason(maxBytes: number): string { |
no outgoing calls
no test coverage detected