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