(key: string)
| 35 | } |
| 36 | |
| 37 | function tombstonePath(key: string): string { |
| 38 | return join(getDraftDir(), `${key}.deleted.json`); |
| 39 | } |
| 40 | |
| 41 | function readGeneration(value: unknown): number | null { |
| 42 | return typeof value === "number" && Number.isInteger(value) && value >= 0 |
no test coverage detected