MCPcopy Create free account
hub / github.com/esengine/esengine / createFile

Method createFile

packages/editor-app/src/api/tauri.ts:266–268  ·  view source on GitHub ↗

* 创建文件 * @param path 文件路径

(path: string)

Source from the content-addressed store, hash-verified

264 * @param path 文件路径
265 */
266 static async createFile(path: string): Promise<void> {
267 return await invoke<void>('create_file', { path });
268 }
269
270 /**
271 * 读取文件并转换为base64

Callers 1

handlePromptConfirmFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected