package irmin
package irmin
-
irmin
-
-
irmin_mem
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Contents
specifies how user-defined contents need to be serializable and mergeable.
The user needs to provide:
- a type
t
to be used as store contents. - a value type for
t
(built using the Irmin.Type combinators). - a 3-way
merge
function, to handle conflicts between multiple versions of the same contents.
Default implementations for idempotent string and JSON contents are provided.
Values.
module type S = sig ... end
Contents of type string
, with the default 3-way merge strategy: assume that update operations are idempotent and conflict iff values are modified concurrently.
Json
contents are associations from strings to json
values stored as JSON encoded strings. If the same JSON key has been modified concurrently with different values then the merge
function conflicts.
module Json_value : S with type t = json
Json_value
allows any kind of json value to be stored, not only objects.
module V1 : sig ... end
module type STORE = sig ... end
Contents store.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>