(projectRoot: string)
| 820 | * Get the default database path for a project |
| 821 | */ |
| 822 | export function getDatabasePath(projectRoot: string): string { |
| 823 | return path.join(getCodeGraphDir(projectRoot), DATABASE_FILENAME); |
| 824 | } |
| 825 | |
| 826 | /** |
| 827 | * Delete a database file and its WAL sidecars (`-wal`/`-shm`). |