类型 CodeDiffRow

API 文档由 Go 源码生成,内容为英文。

type CodeDiffRow struct {
	Kind      CodeDiffKind
	LeftLine  int
	RightLine int
}

CodeDiffRow aligns one line from each source. A negative index means that the row has no line on that side, so a pure insertion or removal keeps the other side aligned.