Skip to content

Commit

Permalink
Fix: deprecated Uuidm.v
Browse files Browse the repository at this point in the history
  • Loading branch information
art-w committed Sep 30, 2024
1 parent 517f133 commit 5e19abd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/irmin-pack/bench_common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ let random_key () = random_string 5

let default_artefacts_dir =
let ( / ) = Filename.concat in
Unix.getcwd () / "_artefacts" / Uuidm.to_string (Uuidm.v `V4)
let uuid = Uuidm.v4_gen (Random.State.make_self_init ()) () in
Unix.getcwd () / "_artefacts" / Uuidm.to_string uuid

let prepare_artefacts_dir path =
let rec mkdir_p path =
Expand Down

0 comments on commit 5e19abd

Please sign in to comment.