package irmin-pack
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Irmin backend which stores values in a pack file
Install
dune-project
Dependency
Authors
Maintainers
Sources
irmin-3.6.1.tbz
sha256=11fc2570bdbfd48478c89113fc801084a84a9a2c12d9bf8c64e05ce64ae19bd7
sha512=2171699ca24dec5c9c908a2676b272e034c14eb17f7052a794535e52af0be40be68a689e59c0a640ee244b11703320483f4d0c261542e6242ba23a8f1272b9b0
doc/irmin-pack/Irmin_pack/Pack_value/index.html
Module Irmin_pack.Pack_valueSource
This module defines abstractions over entries in the pack file, which are encoded as follows:
┌────────┬────────┬──────────────┬─────────┐ │ Hash │ Kind │ Len(Value)? │ Value │ └────────┴────────┴──────────────┴─────────┘ ┆<┄ H ┄┄>┆<┄ K ┄┄>┆<┄┄┄┄ L? ┄┄┄┄>┆<┄┄ V ┄┄>┆ ┆<┄┄┄┄┄┄┄┄┄┄┄ entry length, E ┄┄┄┄┄┄┄┄┄┄┄┄>┆
The fields are as follows:
Hash: the (fixed-length) hash of the data stored in this entry;
Kind: the kind of data being stored (contents, nodes, commits etc.), encoded as a single "magic" character;
Len(Value): an optional length header for theValuesection of the entry (not including the length of the length header itself), encoded using a variable-length encoding (LEB128). The presence of a length header is determined by theKindcharacter.
Value: the data itself.
The length of the overall pack entry, as referenced in the Pack_index or in a direct Pack_key.t, is equal to E = H + K + L + V.
Source
module Of_contents
(_ : Config)
(Hash : Irmin.Hash.S)
(Key : sig ... end)
(Contents : Irmin.Contents.S) :
S with type t = Contents.t and type hash = Hash.t and type key = Key.tSource
module Of_commit
(Hash : Irmin.Hash.S)
(Key : Irmin.Key.S with type hash = Hash.t)
(Commit :
Irmin.Commit.Generic_key.S
with type node_key = Key.t
and type commit_key = Key.t) :
sig ... end sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>