(text: string)
| 16 | import { getCsvPreviewSlice } from '@/lib/file-parsers/csv-preview-slice' |
| 17 | |
| 18 | function streamOf(text: string): Readable { |
| 19 | // Array-wrapped so the whole text is one chunk (a bare Buffer/string is iterated element-wise). |
| 20 | return Readable.from([Buffer.from(text, 'utf-8')]) |
| 21 | } |
| 22 | |
| 23 | const args = { key: 'workspace/ws_1/file.csv', context: 'workspace' as const } |
| 24 |
no outgoing calls
no test coverage detected