package irmin-pack

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type length_header = [ `Varint ] option
type inode_child_order = [
  1. | `Seeded_hash
    (*

    use a non-crypto seeded-hash of the step

    *)
  2. | `Hash_bits
    (*

    crypto hash the step and extract the relevant bits.

    *)
  3. | `Custom of depth:int -> bytes -> int
    (*

    use a custom index

    *)
]
module type S = sig ... end
type merge_throttle = [
  1. | `Block_writes
  2. | `Overcommit_memory
]
val merge_throttle_t : merge_throttle Irmin.Type.t
module Key : sig ... end
val fresh : Irmin.Backend.Conf.t -> bool
val lru_size : Irmin.Backend.Conf.t -> int
val index_log_size : Irmin.Backend.Conf.t -> int
val readonly : Irmin.Backend.Conf.t -> bool
val merge_throttle : Irmin.Backend.Conf.t -> merge_throttle
val root : Irmin.Backend.Conf.t -> string
val indexing_strategy : Irmin.Backend.Conf.t -> Indexing_strategy.t
val use_fsync : Irmin.Backend.Conf.t -> bool
val dict_auto_flush_threshold : Irmin.Backend.Conf.t -> int
val suffix_auto_flush_threshold : Irmin.Backend.Conf.t -> int
val no_migrate : Irmin.Backend.Conf.t -> bool
val init : ?fresh:bool -> ?readonly:bool -> ?lru_size:int -> ?index_log_size:int -> ?merge_throttle:merge_throttle -> ?indexing_strategy:Indexing_strategy.t -> ?use_fsync:bool -> ?dict_auto_flush_threshold:int -> ?suffix_auto_flush_threshold:int -> ?no_migrate:bool -> string -> Irmin.config