Documentation ¶
Index ¶
- type ExtraGroup
- type Relocation
- type Result
- func (compareResult Result) PrintAll(p pretty.Printfer, baseName string, otherName string)
- func (compareResult Result) PrintRelocations(out pretty.Printfer)
- func (compareResult Result) PrintStats(out pretty.Printfer, baseName string, otherName string)
- func (compareResult Result) PrintUnmatchedBaseExtras(out pretty.Printfer, baseName string, _ string)
- func (compareResult Result) PrintUnmatchedOtherExtras(out pretty.Printfer, _ string, otherName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraGroup ¶
type Relocation ¶
type Relocation struct { OriginalFileNames []string NewFileNames []string ExtraOriginalFileNames []string MissingNewFileNames []string }
func (*Relocation) IsDecreasingDuplicates ¶
func (r *Relocation) IsDecreasingDuplicates() bool
func (*Relocation) IsIncreasingDuplicates ¶
func (r *Relocation) IsIncreasingDuplicates() bool
type Result ¶
type Result struct { AllBaseFiles []string AllOtherFiles []string Relocations []Relocation // Paths to be having new content, after original file in base archive is moved to a new path NewContentAfterMove []string NewContentToOverwrite []string UnmatchedBaseExtras []ExtraGroup UnmatchedOtherExtras []ExtraGroup }
func Execute ¶
Execute compares base archive against other archive.
Comparison result should provide set of changes needed to update other archive to match base archive.
func (Result) PrintRelocations ¶
func (Result) PrintStats ¶
func (Result) PrintUnmatchedBaseExtras ¶
Click to show internal directories.
Click to hide internal directories.