Unified returns a unified diff string between a and b.
Returns "" if a and b are identical. For binary inputs, returns
a message matching Fossil's behavior.
type DiffStat struct {
Insertions int// lines present only in b Deletions int// lines present only in a Binary bool// true if either input contains null bytes}
type Options struct {
ContextLines int// lines of context around changes; 0 means no context SrcName string// source file label for header (e.g. "a/file.txt") DstName string// destination file label for header}