digest: return the raw digest, not hex encoded
This commit is contained in:
parent
4ba5f909dd
commit
105e35db9f
1 changed files with 1 additions and 1 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue