From c1d698f1f27cfa74f21eeee216006ade31209725 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 28 Mar 2023 14:31:00 -0400 Subject: [PATCH] comment --- ...ent_3_cdb2eec514bcf125b7f79c7be5ed810a._comment | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/bugs/Always_identical_UUIDs/comment_3_cdb2eec514bcf125b7f79c7be5ed810a._comment diff --git a/doc/bugs/Always_identical_UUIDs/comment_3_cdb2eec514bcf125b7f79c7be5ed810a._comment b/doc/bugs/Always_identical_UUIDs/comment_3_cdb2eec514bcf125b7f79c7be5ed810a._comment new file mode 100644 index 0000000000..40c2a1d16d --- /dev/null +++ b/doc/bugs/Always_identical_UUIDs/comment_3_cdb2eec514bcf125b7f79c7be5ed810a._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2023-03-28T18:26:52Z" + content=""" +If you're able to run ghci, here's how to generate a UUID the same way +git-annex does: + +ghci -e 'import Data.UUID.V4' -e nextRandom + +And here's how to get entropy the same way that does: + +ghci -e 'System.Entropy.getEntropy 16' +"""]]