| 93 | * File operations interface (for cloud communication) |
| 94 | */ |
| 95 | export interface FileOperations { |
| 96 | /** List files (all or in a specific directory) */ |
| 97 | listFiles(path?: string): Promise<FileNode[]>; |
| 98 | /** Read a single file's content */ |
| 99 | readFile(path: string): Promise<ReadFileResult>; |
| 100 | /** Write file */ |
| 101 | writeFile(path: string, content: unknown, options?: WriteFileOptions): Promise<void>; |
| 102 | /** Delete file */ |
| 103 | deleteFile(path: string): Promise<void>; |
| 104 | } |
| 105 | |
| 106 | // ============ Event types ============ |
| 107 |
no outgoing calls
no test coverage detected