Versioned code diffs keep exact patch text separate from human review comments.
Versioned code diffs keep exact patch text separate from human review comments.
(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.
(review-request filename version)Request review of one exact saved version, never authorize new implementation scope.
Request review of one exact saved version, never authorize new implementation scope.
(valid? envelope)True only for a complete, canonical JSON-shaped diff envelope.
True only for a complete, canonical JSON-shaped diff envelope.
(with-comments envelope comments)Replace only the comments; accepts keyword or string-keyed quote/body maps.
Replace only the comments; accepts keyword or string-keyed quote/body maps.
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 |