MCPcopy Index your code
hub / github.com/aryann/difflib / HTMLDiff

Function HTMLDiff

difflib.go:83–111  ·  view source on GitHub ↗

HTMLDiff returns the results of diffing seq1 and seq2 as an HTML string. The resulting HTML is a table without the opening and closing table tags. Each table row represents a DiffRecord. The first and last columns contain the "line numbers" for seq1 and seq2, respectively (the function assumes that

(seq1, seq2 []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestDiffFunction · 0.85

Calls 2

DiffFunction · 0.85
StringMethod · 0.45

Tested by 1

TestDiffFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…