diff_util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation int

Operation defines the operation of a diff item.

const (
	// OperationEqual item represents an equals diff.
	OperationEqual Operation = iota
	// OperationAdd item represents an insert diff.
	OperationAdd
	// OperationDelete item represents a delete diff.
	OperationDelete
)

func LineOperation

func LineOperation(line string) Operation

func (Operation) String

func (o Operation) String() string

Jump to

Keyboard shortcuts

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