diff options
| author | Estevan Castilho <tevo@riajuu.net> | 2026-08-23 03:52:08 +0000 |
|---|---|---|
| committer | Estevan Castilho <tevo@riajuu.net> | 2026-08-23 03:52:08 +0000 |
| commit | 8f87d272038ddea11c366d9a14079666daf6628b (patch) | |
| tree | bbecb53f35452cc3caecf6fb85994629d67ce3af /lib/concepts/Hash.mli | |
| parent | 1d0b73b051cff4b14919808c51acbdd1c3e11767 (diff) | |
| download | RNT-8f87d272038ddea11c366d9a14079666daf6628b.tar.gz RNT-8f87d272038ddea11c366d9a14079666daf6628b.zip | |
The branch manager should persist changes to the root
Diffstat (limited to 'lib/concepts/Hash.mli')
| -rw-r--r-- | lib/concepts/Hash.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/concepts/Hash.mli b/lib/concepts/Hash.mli index b3ae2dc..0e71fda 100644 --- a/lib/concepts/Hash.mli +++ b/lib/concepts/Hash.mli @@ -28,5 +28,8 @@ val hash_equals : hash -> hash -> bool (** given a hash, return a `bytes` representation of it *) val bytes_of_hash : hash -> bytes +(** given a hash, return a `blob` representation of it *) +val blob_of_hash : hash -> Blob.t + (** pick one every 1/2^n hashes *) val pick : int -> hash -> bool |
