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

Function Releases

diff/diff.go:459–463  ·  view source on GitHub ↗

Releases reindex the content based on the template names and pass it to Manifests

(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, to io.Writer)

Source from the content-addressed store, hash-verified

457
458// Releases reindex the content based on the template names and pass it to Manifests
459func Releases(oldIndex, newIndex map[string]*manifest.MappingResult, options *Options, to io.Writer) bool {
460 oldIndex = reIndexForRelease(oldIndex)
461 newIndex = reIndexForRelease(newIndex)
462 return Manifests(oldIndex, newIndex, options, to)
463}
464
465func diffMappingResults(oldContent *manifest.MappingResult, newContent *manifest.MappingResult, stripTrailingCR bool) []difflib.DiffRecord {
466 return diffStrings(oldContent.Content, newContent.Content, stripTrailingCR)

Callers 1

differentiateHelm3Method · 0.92

Calls 2

reIndexForReleaseFunction · 0.85
ManifestsFunction · 0.85

Tested by

no test coverage detected