* 扫描目录查找匹配模式的文件
(path: string, pattern: string)
| 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 | * 读取文件内容(文本) |
no outgoing calls
no test coverage detected