(diff-to-list-of-triplet [diff-before diff-after _])
Given the output of a diff
between maps return a list
of edit distance operation under the form of an atom triplet.
Given the output of a `diff` between maps return a list of edit distance operation under the form of an atom triplet.
(to-create-event object)
(to-create-event object id)
(to-create-event G__2795)
(to-create-event G__2799 G__2800)
Inputs: ([object] [object id]) Returns: vs/CreateEvent
Create a CreateEvent from a StoredX object
Inputs: ([object] [object id]) Returns: vs/CreateEvent Create a CreateEvent from a StoredX object
(to-delete-event object)
(to-delete-event object id)
(to-delete-event G__2826)
(to-delete-event G__2830 G__2831)
Inputs: ([object] [object id]) Returns: vs/DeleteEvent
transform an object (generally a StoredObject
) to its corresponding Event
Inputs: ([object] [object id]) Returns: vs/DeleteEvent transform an object (generally a `StoredObject`) to its corresponding `Event`
(to-update-event object prev-object)
(to-update-event object prev-object id)
(to-update-event G__2812 G__2813)
(to-update-event G__2817 G__2818 G__2819)
Inputs: ([object prev-object] [object prev-object id]) Returns: vs/UpdateEvent
transform an object (generally a StoredObject
) to an UpdateEvent
.
The two arguments object
and prev-object
should have the same schema.
The fields should contains enough information to retrieve all informations.
But the complete object is given for simplicity.
Inputs: ([object prev-object] [object prev-object id]) Returns: vs/UpdateEvent transform an object (generally a `StoredObject`) to an `UpdateEvent`. The two arguments `object` and `prev-object` should have the same schema. The fields should contains enough information to retrieve all informations. But the complete object is given for simplicity.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close