(fileName: string, data: string)
| 49 | } |
| 50 | |
| 51 | writeFile(fileName: string, data: string): void { |
| 52 | const parts = fileName.split('/'); |
| 53 | const name = parts.pop()!; |
| 54 | const entry = this.getEntry(parts); |
| 55 | if (entry && typeof entry !== 'string') { |
| 56 | entry[name] = data; |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | assumeFileExists(fileName: string): void { |
| 61 | this.writeFile(fileName, ''); |
no test coverage detected