Internal.XKey
type hash = Schema.Hash.t
include Brassaia.Key.S
with type t = hash Brassaia_pack_unix.Pack_key.t
with type hash := hash
type t = hash Brassaia_pack_unix.Pack_key.t
The type for keys.
val t : t Brassaia.Type.t
val encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
val null : t
unfindable_of_hash h
is a key k
such that to_hash k = h
, with an unspecified internal representation. This function enables an efficient implmentation of "portable" inodes, but is otherwise unused. Attempting to dereference a key constructed in this way results in undefined behaviour.