(value: unknown)
| 39 | } |
| 40 | |
| 41 | function readGeneration(value: unknown): number | null { |
| 42 | return typeof value === "number" && Number.isInteger(value) && value >= 0 |
| 43 | ? value |
| 44 | : null; |
| 45 | } |
| 46 | |
| 47 | function readTombstoneGeneration(key: string): number | null { |
| 48 | const filePath = tombstonePath(key); |
no outgoing calls
no test coverage detected