package octez-internal-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Pack_key.MakeSource

Parameters

Signature

Sourcetype hash = Hash.t
include Irmin.Key.S with type t = hash t with type hash := hash
Sourcetype t = hash t

The type for keys.

Sourceval to_hash : t -> hash
Sourceval null : t
Sourceval unfindable_of_hash : hash -> 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.

OCaml

Innovation. Community. Security.