类型 CodeDiffStats
API 文档由 Go 源码生成,内容为英文。
type CodeDiffStats struct {
Added int
Removed int
Coarse bool
}CodeDiffStats counts changed lines. Added describes lines present only on the right, while Removed describes lines present only on the left. Coarse reports that the comparison reached its work bound and grouped the remaining middle as one changed region.