friendly

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffDescriptions

func DiffDescriptions(headDeltas, bodyDeltas []*deepdiff.Delta, bodyStats *deepdiff.Stats, assumeBodyChanged bool) (string, string)

DiffDescriptions creates a friendly message from diff operations. If there's no differences found, return empty strings.

Types

type ComponentChanges

type ComponentChanges struct {
	EntireMessage string
	Num           int
	Size          int
	Rows          []string
}

ComponentChanges holds state when building a diff message

Jump to

Keyboard shortcuts

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