pub async fn database_path(pool: &SqlitePool) -> DbResult<PathBuf>Expand description
Returns the filesystem path attached to SQLite’s main database, or
DbError::DatabasePathUnavailable for private in-memory databases. Live controller
mutations require this stable identity to acquire process-shared ownership.
Callers canonicalize the returned path before comparing filesystem aliases.