2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

Include a few random bytes in the directory structure

This commit is contained in:
asonix 2024-02-27 20:18:35 -06:00
parent a6134999aa
commit d13f7fe969

View file

@ -14,5 +14,5 @@ pub(crate) fn generate_object() -> String {
fn generate() -> Vec<String> {
let s = Uuid::now_v7().simple().to_string();
(0..6).map(|i| s[i * 2..i * 2 + 2].to_string()).collect()
(0..10).map(|i| s[i * 2..i * 2 + 2].to_string()).collect()
}