(projectRoot: string)
| 292 | * Get the default database path for a project |
| 293 | */ |
| 294 | export function getDatabasePath(projectRoot: string): string { |
| 295 | return path.join(getCodeGraphDir(projectRoot), DATABASE_FILENAME); |
| 296 | } |
| 297 | |
| 298 | /** |
| 299 | * Delete a database file and its WAL sidecars (`-wal`/`-shm`). |