Irmin backend which stores values in a pack file
Module type
Class type
Library irmin-pack
Parameter #1 Irmin_pack . Inode . Make_internal . Conf
val entries : int
val stable_hash : int
val contents_length_header : Conf.length_header

Describes the length header of the user's contents values when binary-encoded. Supported modes are:

  • Some `Varint: the length header is a LEB128-encoded integer at the very beginning of the encoded value.
  • None: there is no length header, and values have unknown size. NOTE: when using irmin-pack in this mode, the selected indexing strategy must index all contents values (as recovering contents values from the store will require referring to the index for their length information).
val inode_child_order : Conf.inode_child_order
val forbid_empty_dir_persistence : bool

If true, irmin-pack raises Failure if it is asked to save the empty inode. This default is false. It should be set to true if the Schema of the store allows a hash collision between the empty inode and this string of length 1: "\000".