(
handle: FileSystemFileHandle,
options: StreamReaderOptions = {}
)
| 210 | * Create a StreamReader from a FileSystemFileHandle |
| 211 | */ |
| 212 | export async function createHandleStreamReader( |
| 213 | handle: FileSystemFileHandle, |
| 214 | options: StreamReaderOptions = {} |
| 215 | ): Promise<StreamReader> { |
| 216 | const file = await handle.getFile(); |
| 217 | return createFileStreamReader(file, options); |
| 218 | } |
| 219 | |
| 220 | /** |
| 221 | * Utility to sample a large file to see its structure |
nothing calls this directly
no test coverage detected