package irmin-pack

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

Install

Dune Dependency

Authors

Maintainers

Sources

irmin-3.11.0.tbz
sha256=09996fbcc2c43e117a9bd8e9028c635e81cccb264d5e02d425ab8b06bbacdbdb
sha512=0391a6bf7b94a1edd50a3a8df9e58961739fa78d7d689d61f56bc87144483bad2ee539df595c33d9d52c29b3458da5dddf3a73b5eb85e49c4667c26d2cd46be1

doc/irmin-pack.unix/Irmin_pack_unix/Control_file/Payload/Upper/V5/index.html

Module Upper.V5Source

Sourcetype gced = {
  1. suffix_start_offset : Optint.Int63.t;
  2. generation : int;
  3. latest_gc_target_offset : Optint.Int63.t;
  4. suffix_dead_bytes : Optint.Int63.t;
  5. mapping_end_poff : Optint.Int63.t option;
}
Sourcetype status =
  1. | From_v1_v2_post_upgrade of V3.from_v1_v2_post_upgrade
  2. | No_gc_yet
  3. | Used_non_minimal_indexing_strategy
  4. | Gced of gced
  5. | T1
  6. | T2
  7. | T3
  8. | T4
  9. | T5
  10. | T6
  11. | T7
  12. | T8
  13. | T9
  14. | T10
  15. | T11
  16. | T12
  17. | T13
  18. | T14
  19. | T15
Sourceval status_t : status Irmin.Type.t
Sourcetype t = {
  1. dict_end_poff : Optint.Int63.t;
  2. appendable_chunk_poff : Optint.Int63.t;
  3. upgraded_from : int option;
  4. checksum : Optint.Int63.t;
  5. chunk_start_idx : int;
  6. chunk_num : int;
  7. volume_num : int;
  8. status : status;
}

The same as V4.t, with the following modifications:

New fields

  • volume_num stores the number of volumes in the lower layer.
  • mapping_end_poff stores the mapping file size (optional if missing or unknown after a migration from V4).

Changed fields

  • Replaced upgraded_from_v3_to_v4 with generic field upgraded_from to track version upgrades. Note, it is an int option since Version.t option has a bug somewhere in repr that needs further investigation.
OCaml

Innovation. Community. Security.