Versioned code diffs: the exact patch text and the source it came from.
Versioned code diffs: the exact patch text and the source it came from.
(parse! text)Parse JSON text to a validated string-keyed envelope; throw :diff/invalid otherwise.
Parse JSON text to a validated string-keyed envelope; throw :diff/invalid otherwise.
(render envelope)Encode a valid envelope without normalizing or trimming its patch string.
Encode a valid envelope without normalizing or trimming its patch string.
(valid? envelope)True only for a complete, canonical JSON-shaped diff envelope.
True only for a complete, canonical JSON-shaped diff envelope.
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 |