(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__2770)(to-create-event G__2774 G__2775)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__2801)(to-delete-event G__2805 G__2806)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__2787 G__2788)(to-update-event G__2792 G__2793 G__2794)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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |