package irmin
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Node
provides a simple node implementation, parameterized by the contents C
, node N
and paths P
.
Parameters
Signature
Node values
include Tc.S0
val compare : t Tc.compare
val to_json : t Tc.to_json
The REST inteface.
val of_json : t Tc.of_json
val size_of : t Tc.size_of
The serialization format.
type contents = C.t
The type for contents keys.
type node = N.t
The type for node keys.
type step = P.step
The type for steps between nodes.
alist t
is the contents of t
.
val empty : t
The empty node.
val is_empty : t -> bool
Is the node empty?
iter_contents t f
calls f
on t
's contents. For better performance, use contents instead when you know the step in advance.
with_contents t s c
replaces t
's contents for the step s
by c
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page