(projectRoot: string)
| 1020 | * Get the default database path for a project |
| 1021 | */ |
| 1022 | export function getDatabasePath(projectRoot: string): string { |
| 1023 | return path.join(getCodeGraphDir(projectRoot), DATABASE_FILENAME); |
| 1024 | } |
| 1025 | |
| 1026 | /** |
| 1027 | * Delete a database file and its WAL sidecars (`-wal`/`-shm`). |