(p, content, opts)
| 6704 | }); |
| 6705 | } |
| 6706 | appendFileSync(p, content, opts) { |
| 6707 | const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; |
| 6708 | if (opts) { |
| 6709 | this.realFs.appendFileSync(fsNativePath, content, opts); |
| 6710 | } else { |
| 6711 | this.realFs.appendFileSync(fsNativePath, content); |
| 6712 | } |
| 6713 | } |
| 6714 | async writeFilePromise(p, content, opts) { |
| 6715 | return await new Promise((resolve, reject) => { |
| 6716 | const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; |
nothing calls this directly
no test coverage detected