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)
| 457 | |
| 458 | // Releases reindex the content based on the template names and pass it to Manifests |
| 459 | func 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 | |
| 465 | func diffMappingResults(oldContent *manifest.MappingResult, newContent *manifest.MappingResult, stripTrailingCR bool) []difflib.DiffRecord { |
| 466 | return diffStrings(oldContent.Content, newContent.Content, stripTrailingCR) |
no test coverage detected