MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / FileOperations

Interface FileOperations

apps/webuiapps/src/types/fileSystem.ts:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 * File operations interface (for cloud communication)
94 */
95export 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

Callers 18

MusicAppFunction · 0.65
CyberNewsFunction · 0.65
GomokuAppFunction · 0.65
executeFileToolFunction · 0.65
MusicAppFunction · 0.80
EmailPageFunction · 0.80
DiaryFunction · 0.80
TwitterFunction · 0.80
CyberNewsFunction · 0.80
GomokuAppFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected