aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/mod.rs
diff options
context:
space:
mode:
authorEllie Huxtable <ellie@elliehuxtable.com>2023-04-11 16:26:16 +0100
committerGitHub <noreply@github.com>2023-04-11 16:26:16 +0100
commit03dd3ddf8b8c0ad254850cd940728c888dd7a80c (patch)
tree2ebac480115be4b20ad5385362aa9dd988bc9799 /src/command/mod.rs
parentAdd additional detail to search documentation (#860) (diff)
downloadatuin-03dd3ddf8b8c0ad254850cd940728c888dd7a80c.zip
Switch to uuidv7 (#864)
* Add uuid_v7 * Actually use the new uuid * Add a test to ensure all uuids are unique, even in a tight loop * Make clippy happy
Diffstat (limited to '')
-rw-r--r--src/command/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs
index 1411bfd2..4ed1691a 100644
--- a/src/command/mod.rs
+++ b/src/command/mod.rs
@@ -60,7 +60,7 @@ impl AtuinCmd {
Ok(())
}
Self::Uuid => {
- println!("{}", atuin_common::utils::uuid_v4());
+ println!("{}", atuin_common::utils::uuid_v7().as_simple());
Ok(())
}
Self::GenCompletions { shell, out_dir } => {