Diff-handling code for cljfmt fixes.
Diff-handling code for cljfmt fixes.
(colorize diff-text)
Apply ANSI color coding to the supplied diff text.
Apply ANSI color coding to the supplied diff text.
(count-changes diff)
Count how many lines involve actual changes in the diff output.
Count how many lines involve actual changes in the diff output.
(unified-diff path original revised)
Produce a unified diff string comparing the original and revised texts.
Produce a unified diff string comparing the original and revised texts.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close