MCPcopy Index your code
hub / github.com/andreyvit/diff / CharacterDiff

Function CharacterDiff

diff.go:21–23  ·  view source on GitHub ↗

CharacterDiff returns an inline diff between the two strings, using (++added++) and (~~deleted~~) markup.

(a, b string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

Calls 2

diffsToStringFunction · 0.85
diffFunction · 0.85

Tested by 2

Used in the wild real call sites across dependent graphs

searching dependent graphs…