Liking cljdoc? Tell your friends :D

com.blockether.vis.contract.diff

Versioned code diffs keep exact patch text separate from human review comments.

Versioned code diffs keep exact patch text separate from human review comments.
raw docstring

media-typeclj


parse!clj

(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.
raw docstring

renderclj

(render envelope)

Encode a valid envelope without normalizing or trimming its patch string.

Encode a valid envelope without normalizing or trimming its patch string.
raw docstring

review-requestclj

(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.
raw docstring

valid?clj

(valid? envelope)

True only for a complete, canonical JSON-shaped diff envelope.

True only for a complete, canonical JSON-shaped diff envelope.
raw docstring

with-commentsclj

(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.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close