(rootDir: string)
| 25 | } |
| 26 | |
| 27 | async function ensureDataDir(rootDir: string): Promise<string> { |
| 28 | const dataPath = join(rootDir, DATA_DIR); |
| 29 | await mkdir(dataPath, { recursive: true }); |
| 30 | return dataPath; |
| 31 | } |
| 32 | |
| 33 | async function loadManifest(rootDir: string): Promise<RestorePoint[]> { |
| 34 | const manifestPath = join(rootDir, DATA_DIR, "restore-points.json"); |
no outgoing calls
no test coverage detected