From bbdf38018b47328b5faa2cef635c37095045be72 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 12 Jun 2026 01:54:21 +0200 Subject: feat(server): Really make users stateless (with tests) This commit also remove another load of unneeded features. --- crates/turtle/src/atuin_client/meta.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'crates/turtle/src/atuin_client/meta.rs') diff --git a/crates/turtle/src/atuin_client/meta.rs b/crates/turtle/src/atuin_client/meta.rs index f3815b9e..c5c89512 100644 --- a/crates/turtle/src/atuin_client/meta.rs +++ b/crates/turtle/src/atuin_client/meta.rs @@ -12,7 +12,6 @@ use uuid::Uuid; const KEY_HOST_ID: &str = "host_id"; const KEY_LAST_SYNC: &str = "last_sync_time"; -const KEY_SESSION: &str = "session"; pub(crate) struct MetaStore { pool: SqlitePool, @@ -98,15 +97,6 @@ impl MetaStore { Ok(()) } - pub(crate) async fn delete(&self, key: &str) -> Result<()> { - sqlx::query("DELETE FROM meta WHERE key = ?1") - .bind(key) - .execute(&self.pool) - .await?; - - Ok(()) - } - // Typed accessors pub(crate) async fn host_id(&self) -> Result { -- cgit v1.3.1