diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 14:20:49 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 14:20:49 +0200 |
| commit | 199563550dd41c3dfb703bd3747604a8a03cdbc5 (patch) | |
| tree | 30cfa3e5539f782b7571091c742ee1c219e138fb /crates/turtle/src/command/client/store.rs | |
| parent | chore: Restore db migrations (diff) | |
| download | atuin-199563550dd41c3dfb703bd3747604a8a03cdbc5.zip | |
chore: Remove all `pub`s
They will not be marked by rustc/cargo as unused, and as atuin doesn't
expose an API all of them _should_ be `pub(crate)`
Diffstat (limited to 'crates/turtle/src/command/client/store.rs')
| -rw-r--r-- | crates/turtle/src/command/client/store.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/turtle/src/command/client/store.rs b/crates/turtle/src/command/client/store.rs index dfa3b66c..3e9355b5 100644 --- a/crates/turtle/src/command/client/store.rs +++ b/crates/turtle/src/command/client/store.rs @@ -22,7 +22,7 @@ mod verify; #[derive(Subcommand, Debug)] #[command(infer_subcommands = true)] -pub enum Cmd { +pub(crate) enum Cmd { /// Print the current status of the record store Status, @@ -48,7 +48,7 @@ pub enum Cmd { } impl Cmd { - pub async fn run( + pub(crate) async fn run( &self, settings: &Settings, database: &dyn Database, @@ -69,7 +69,7 @@ impl Cmd { } } - pub async fn status(&self, store: SqliteStore) -> Result<()> { + pub(crate) async fn status(&self, store: SqliteStore) -> Result<()> { let host_id = Settings::host_id().await?; let offset = UtcOffset::current_local_offset().unwrap_or(UtcOffset::UTC); |
