package irmin-pack

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

Module Make.GcSource

Sourcetype msg = [
  1. | `Msg of string
]
Sourcetype stats = X.gc_stats = {
  1. duration : float;
  2. finalisation_duration : float;
  3. read_gc_output_duration : float;
  4. transfer_latest_newies_duration : float;
  5. swap_duration : float;
}
Sourcetype process_state = [
  1. | `Idle
  2. | `Running
  3. | `Finalised of stats
]
Sourceval catch_errors : string -> exn -> ('a, [> `Msg of string ]) result Lwt.t
Sourceval map_errors : string -> Errs.t -> [> `Msg of string ]
Sourceval finalise_exn : ?wait:bool -> X.Repo.t -> [> `Finalised of X.gc_stats | `Idle | `Running ] Lwt.t
Sourceval start_exn : ?unlink:bool -> X.Repo.t -> XKey.t -> bool Lwt.t
Sourceval start : X.Repo.t -> XKey.t -> (bool, [> `Msg of string ]) result Lwt.t
Sourceval is_finished : X.Repo.t -> bool
Sourceval wait : X.Repo.t -> (X.gc_stats option, [> `Msg of string ]) result Lwt.t
Sourceval run : ?finished:((X.gc_stats, [> `Msg of string ]) result -> unit Lwt.t) -> X.Repo.t -> XKey.t -> (bool, [> `Msg of string ]) result Lwt.t
OCaml

Innovation. Community. Security.