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

Method scanDirectory

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

* 扫描目录查找匹配模式的文件

(path: string, pattern: string)

Source from the content-addressed store, hash-verified

71 * 扫描目录查找匹配模式的文件
72 */
73 static async scanDirectory(path: string, pattern: string): Promise<string[]> {
74 return await invoke<string[]>('scan_directory', { path, pattern });
75 }
76
77 /**
78 * 读取文件内容(文本)

Callers 2

handleOpenRecentProjectFunction · 0.80
useProjectActionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected