package index
A platform-agnostic multi-level index for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
index-1.6.0.tbz
sha256=5e0c1f6cbd6e485cbbf2344c8f76de8a7869155355ae6edd5550c88da0661594
sha512=613fa206d1124b34259421f4ea978ce4e9404d78af3a687c1e406d88a5d481bd51465fafae58da9eb3e6a0b5408118b8a7dfe1fbb05ce8fed4b8b0a572beb99b
doc/index.unix/Index_unix/Private/Raw/index.html
Module Private.Raw
Source
Raw
wraps a file-descriptor with an file-format used internally by Index. The format contains the following header fields:
- offset: a 64-bit integer, denoting the length of the file containing valid data;
- version: an 8-byte version string;
- generation: a 64-bit integer denoting the generation number;
- fan: a 64-bit length field, followed by a string containing that many bytes.
The type of raw
file handles.
Construct a raw
value from a file descriptor.
Functions for interacting with the header format without the generation number, provided for use in irmin-pack
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>