(p, content, opts)
| 6722 | }); |
| 6723 | } |
| 6724 | writeFileSync(p, content, opts) { |
| 6725 | const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p; |
| 6726 | if (opts) { |
| 6727 | this.realFs.writeFileSync(fsNativePath, content, opts); |
| 6728 | } else { |
| 6729 | this.realFs.writeFileSync(fsNativePath, content); |
| 6730 | } |
| 6731 | } |
| 6732 | async unlinkPromise(p) { |
| 6733 | return await new Promise((resolve, reject) => { |
| 6734 | this.realFs.unlink(npath.fromPortablePath(p), this.makeCallback(resolve, reject)); |
nothing calls this directly
no test coverage detected