result

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(enumerator collections.Enumerator[collections.Tuple2[step.Step, int]], count, aCount, bCount, total, addCount, remCount int) differs.Result

New creates a new result from a diff.

  • The given count must be the same count as the number of values in the enumerator.
  • The given aCount must be the number of values in the A count. The A count is also the sum of the added and same counts in the enumerator.
  • The given bCount must be the number of values in the B count. The B count is also the sum of the removed and same counts in the enumerator.
  • The total must be the sum of all the counts in the enumerator.
  • The given addCount is the sum of added counts in the enumerator.
  • The given remCount is the sum of removed counts in the enumerator.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL