Merge pull request 'digest: return the raw digest, not hex encoded' (#35) from no-digest-hex into main
Reviewed-on: #35
This commit is contained in:
commit
5652b5960d
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ module Make (Pclock : Mirage_clock.PCLOCK) = struct
|
||||||
let digest t key =
|
let digest t key =
|
||||||
Option.fold
|
Option.fold
|
||||||
~none:(Error (`Not_found key))
|
~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
|
t.head |> Lwt.return
|
||||||
|
|
||||||
let size t key =
|
let size t key =
|
||||||
|
|
Loading…
Reference in a new issue