package irmin-pack
val path_t : path Irmin.Type.t
val step_t : step Irmin.Type.t
val metadata_t : metadata Irmin.Type.t
val contents_t : contents Irmin.Type.t
val contents_key_t : contents_key Irmin.Type.t
val node_t : node Irmin.Type.t
val hash_t : hash Irmin.Type.t
val t : tree Irmin.Type.t
val empty : unit -> tree
val kinded_hash_t :
[ `Contents of hash * metadata | `Node of hash ] Irmin.Type.t
val is_empty : tree -> bool
type !'a or_error = ('a, error) Stdlib.result
module Contents : sig ... end
val merge : tree Irmin.Merge.t
val destruct : tree -> [ `Contents of Contents.t * metadata | `Node of node ]
type marks = Irmin.Of_backend(X).Tree.marks
val empty_marks : unit -> marks
val depth_t : depth Irmin.Type.t
val fold :
?order:[ `Random of Stdlib.Random.State.t | `Sorted | `Undefined ] ->
?force:'a force ->
?cache:bool ->
?uniq:uniq ->
?pre:('a, step list) folder ->
?post:('a, step list) folder ->
?depth:depth ->
?contents:('a, contents) folder ->
?node:('a, node) folder ->
?tree:('a, tree) folder ->
tree ->
'a ->
'a Lwt.t
val stats_t : stats Irmin.Type.t
val concrete_t : concrete Irmin.Type.t
module Proof : sig ... end
val clear : ?depth:int -> tree -> unit
type counters = Irmin.Of_backend(X).Tree.counters = {
mutable contents_hash : int;
mutable contents_find : int;
mutable contents_add : int;
mutable contents_mem : int;
mutable node_hash : int;
mutable node_mem : int;
mutable node_index : int;
mutable node_add : int;
mutable node_find : int;
mutable node_val_v : int;
mutable node_val_find : int;
mutable node_val_list : int;
}
val counters : unit -> counters
val dump_counters : unit Fmt.t
val inspect :
tree ->
[ `Contents | `Node of [ `Key | `Map | `Portable_dirty | `Pruned | `Value ] ]
module Private : sig ... end
val kinded_key_t : kinded_key Irmin.Type.t
val key : tree -> kinded_key option
val find_key : Repo.t -> tree -> kinded_key option Lwt.t
val of_key : Repo.t -> kinded_key -> tree option Lwt.t
val shallow : Repo.t -> kinded_key -> tree
val kinded_hash : ?cache:bool -> tree -> kinded_hash
val of_hash : Repo.t -> kinded_hash -> tree option Lwt.t
val verifier_error_t : verifier_error Irmin.Type.t
val produce_proof :
repo ->
kinded_key ->
(tree -> (tree * 'a) Lwt.t) ->
(Proof.tree Proof.t * 'a) Lwt.t
val verify_proof :
Proof.tree Proof.t ->
(tree -> (tree * 'a) Lwt.t) ->
(tree * 'a, verifier_error) Stdlib.result Lwt.t
val hash_of_proof_state : Proof.tree -> kinded_hash
val produce_stream :
repo ->
kinded_key ->
(tree -> (tree * 'a) Lwt.t) ->
(Proof.stream Proof.t * 'a) Lwt.t
val verify_stream :
Proof.stream Proof.t ->
(tree -> (tree * 'a) Lwt.t) ->
(tree * 'a, verifier_error) Stdlib.result Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>