package irmin-pack

  1. Overview
  2. Docs
Irmin backend which stores values in a pack file

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.4.0.tbz
sha256=9e72efdc13324602d8da46e0492b1f4e09ad524149845e1a9106882f60ad6e1f
sha512=ae9cb4b086c7b93962aafc2ea339ac85c6d66bdf769f70a16f62fa5c74d9b194e12ac00b510be5ffac5adff3aa20fd69c4ca4067dcc966767fefcf5c02bc9969

doc/irmin-pack.unix/Irmin_pack_unix/Maker/Make/Gc/index.html

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.