pub async fn health_check(db: &ThingsDatabase) -> Result<()>
Perform a health check on the database
use things3_cli::health_check; use things3_core::ThingsDatabase; let db = ThingsDatabase::new(std::path::Path::new("test.db")).await?; health_check(&db).await?;
Returns an error if the database is not accessible