Module Make.Stat

Reads basic metrics from an existing store and prints them to stdout.

val run : root:string -> unit Lwt.t
val term_internal : (unit -> unit) Cmdliner.Term.t

A pre-packaged Cmdliner term for executing run.

val term : unit Cmdliner.Term.t * Cmdliner.Term.info

term is term_internal plus documentation and logs initialisation

Internal implementation utilities exposed for use in other integrity checks.

type size =
  1. | Bytes of int
val size_t : size Irmin.Type.t
type objects = {
  1. nb_commits : int;
  2. nb_nodes : int;
  3. nb_contents : int;
}
val objects_t : objects Irmin.Type.t
val traverse_index : root:string -> int -> objects