aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/atuin_client/meta.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-12 01:54:21 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-12 01:54:21 +0200
commitbbdf38018b47328b5faa2cef635c37095045be72 (patch)
tree8983817d547551ae12508a8ae8731b622d990af4 /crates/turtle/src/atuin_client/meta.rs
parentfeat(server): Make user stuff stateless (diff)
downloadatuin-bbdf38018b47328b5faa2cef635c37095045be72.zip
feat(server): Really make users stateless (with tests)
This commit also remove another load of unneeded features.
Diffstat (limited to 'crates/turtle/src/atuin_client/meta.rs')
-rw-r--r--crates/turtle/src/atuin_client/meta.rs10
1 files changed, 0 insertions, 10 deletions
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<HostId> {