(size: number, content: () => string)
| 28 | * over the limit reads as drifted. `content` is only read within the limit. |
| 29 | */ |
| 30 | export function indexedHashInput(size: number, content: () => string): string { |
| 31 | return size > MAX_SOURCE_FILE_SIZE_BYTES ? oversizeStamp(size) : content(); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * A source file's text, or null for what extraction wouldn't take: anything but |
no test coverage detected