read(
filePath: string,
offset: number = 0,
limit: number = 500
): Promise<ReadResult| Name | Type | Description |
|---|---|---|
filePath* | string | |
offset | number | Default: 0 |
limit | number | Default: 500 |
Read file content.
Text files are paginated by line offset/limit. Binary files return full Uint8Array content (offset/limit ignored).
Absolute file path
Line offset to start reading from (0-indexed)
Maximum number of lines to read