Description

ColorizeDiff takes a byte slice of lines and returns the same, but with diff highlighting. That is, lines starting with '+' are green and lines starting with '-' are red.

ColorizeDiff is referenced in 1 repository

github.com/sourcegraph/srclib