Read file content with line numbers.
Overrides BaseSandbox.read() to normalize paths with a leading /
so they resolve correctly in the temp execution directory.
read(
filePath: string,
offset: number = 0,
limit: number = 500
): Promise<ReadResult>| Name | Type | Description |
|---|---|---|
filePath* | string | |
offset | number | Default: 0 |
limit | number | Default: 500 |