(path: Path, content: virtualFs.FileBuffer)
| 160 | } |
| 161 | |
| 162 | write(path: Path, content: virtualFs.FileBuffer): Observable<void> { |
| 163 | return new Observable((obs) => { |
| 164 | mkdirSync(getSystemPath(dirname(path)), { recursive: true }); |
| 165 | writeFileSync(getSystemPath(path), new Uint8Array(content)); |
| 166 | obs.next(); |
| 167 | obs.complete(); |
| 168 | }); |
| 169 | } |
| 170 | |
| 171 | read(path: Path): Observable<virtualFs.FileBuffer> { |
| 172 | return new Observable((obs) => { |
nothing calls this directly
no test coverage detected