MCPcopy Index your code
hub / github.com/databus23/helm-diff / actualChanges

Function actualChanges

diff/diff.go:178–186  ·  view source on GitHub ↗
(diff []difflib.DiffRecord)

Source from the content-addressed store, hash-verified

176}
177
178func actualChanges(diff []difflib.DiffRecord) int {
179 changes := 0
180 for _, record := range diff {
181 if record.Delta != difflib.Common {
182 changes++
183 }
184 }
185 return changes
186}
187
188const (
189 renameDetectionMinLengthRatio float32 = 0.1

Callers 2

contentSearchFunction · 0.85
doDiffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected