( entries: PersistedLocalVault[], root: string )
| 452 | } |
| 453 | |
| 454 | export function forgetLocalVault( |
| 455 | entries: PersistedLocalVault[], |
| 456 | root: string |
| 457 | ): PersistedLocalVault[] { |
| 458 | const target = path.resolve(root) |
| 459 | return entries.filter((entry) => path.resolve(entry.root) !== target) |
| 460 | } |
| 461 | |
| 462 | function configBackupPath(): string { |
| 463 | return `${configPath()}.bak` |
no outgoing calls
no test coverage detected