From 105e35db9fd8f21e75d22564874d91f4a8d1d8ec Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Tue, 7 May 2024 12:40:50 +0200 Subject: [PATCH] digest: return the raw digest, not hex encoded --- src/git_kv.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git_kv.ml b/src/git_kv.ml index 2e85065..f255395 100644 --- a/src/git_kv.ml +++ b/src/git_kv.ml @@ -453,7 +453,7 @@ module Make (Pclock : Mirage_clock.PCLOCK) = struct let digest t key = Option.fold ~none:(Error (`Not_found key)) - ~some:(fun x -> Ok (Store.Hash.to_hex x)) + ~some:(fun x -> Ok (Store.Hash.to_raw_string x)) t.head |> Lwt.return let size t key =