package irmin-pack
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/Ranges/index.html
Module Irmin_pack_unix.Ranges
Source
An ordered set of disjoint (offset, length)
ranges.
add ~off ~len t
inserts the range (off, len)
into t
. When add
is called multiple times sequentially, it is optimized for strictly decreasing offsets arguments.
iter fn t
calls fn ~off ~len
on every disjoint range (off, len)
in the set t
. The function fn ~off ~len
is called with strictly increasing offsets. If two or more consecutive ranges (off,len)
and (off+len,len')
were added to the set t
, a single call to fn
will be performed on the englobing interval (off,len+len')
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>