Read 读取文件内容 path: 文件路径 offset: 起始行号 (0-based) limit: 读取行数限制 (0表示无限制) 返回: 文件内容(字符串)
(ctx context.Context, path string, offset, limit int)
| 58 | // limit: 读取行数限制 (0表示无限制) |
| 59 | // 返回: 文件内容(字符串) |
| 60 | Read(ctx context.Context, path string, offset, limit int) (string, error) |
| 61 | |
| 62 | // Write 写入文件 |
| 63 | // path: 文件路径 |
no outgoing calls
no test coverage detected