(prefix: string)
| 34 | }); |
| 35 | |
| 36 | const makeWorkDir = (prefix: string): string => |
| 37 | mkdtempSync(join(tmpdir(), `executor-owned-database-${prefix}-`)); |
| 38 | |
| 39 | // data.db exists only after the sole owner opens it, so it is the witness that a |
| 40 | // non-owner never wrote anything: an ownership loser must fail before any DB I/O. |
no outgoing calls
no test coverage detected