Opens (or creates) the global database. Returns `None` if the home directory cannot be determined or the DB fails to open.
()
| 1074 | /// Opens (or creates) the global database. Returns `None` if the home |
| 1075 | /// directory cannot be determined or the DB fails to open. |
| 1076 | pub async fn open() -> Option<Self> { |
| 1077 | let db_path = global_db_path()?; |
| 1078 | Self::open_at(&db_path).await |
| 1079 | } |
| 1080 | |
| 1081 | /// Raw connection for crate-internal read layers (the dashboard HTTP |
| 1082 | /// server queries the LCM tables directly). |
nothing calls this directly
no test coverage detected