(projectRoot: string)
| 797 | * Get the default database path for a project |
| 798 | */ |
| 799 | export function getDatabasePath(projectRoot: string): string { |
| 800 | return path.join(getCodeGraphDir(projectRoot), DATABASE_FILENAME); |
| 801 | } |
| 802 | |
| 803 | /** |
| 804 | * Delete a database file and its WAL sidecars (`-wal`/`-shm`). |