(maxBytes: number)
| 162 | |
| 163 | /** Human-readable size-limit skip reason, e.g. "File exceeds the 10MB size limit". */ |
| 164 | export function sizeLimitSkipReason(maxBytes: number): string { |
| 165 | return `File exceeds the ${Math.round(maxBytes / (1024 * 1024))}MB size limit and was not indexed` |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Returns the listing stub as-is, or a skipped marker when its size exceeds the cap. |
no outgoing calls
no test coverage detected