(name: string, content: string)
| 390 | } |
| 391 | |
| 392 | async createFile(name: string, content: string): Promise<string> { |
| 393 | const filePath = this.fileManager.createFilePath(name); |
| 394 | await this.editFile(filePath, content); |
| 395 | return filePath; |
| 396 | } |
| 397 | |
| 398 | async editFile(filePath: string, content: string, type: 'virtual' | 'physical' = 'physical') { |
| 399 | const normPath = await normalizePath(filePath); |
no test coverage detected