Skip to content

Commit

Permalink
Merge pull request #2344 from art-w/uuidm
Browse files Browse the repository at this point in the history
Fix: deprecated Uuidm.v
  • Loading branch information
art-w authored Oct 4, 2024
2 parents 517f133 + 5e19abd commit 7f2d988
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 7f2d988

Please sign in to comment.