Read file content with line numbers or an error string.
read(filePath: string, offset: number, limit: number): MaybePromise<string>| Name | Type | Description |
|---|---|---|
filePath* | string | Absolute file path |
offset | number | Line offset to start reading from (0-indexed), default 0 |
limit | number | Maximum number of lines to read, default 500 |