(projectRoot: string)
| 718 | * Get the default database path for a project |
| 719 | */ |
| 720 | export function getDatabasePath(projectRoot: string): string { |
| 721 | return path.join(getCodeGraphDir(projectRoot), DATABASE_FILENAME); |
| 722 | } |
| 723 | |
| 724 | /** |
| 725 | * Delete a database file and its WAL sidecars (`-wal`/`-shm`). |