diffy

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteSplitDiff

func WriteSplitDiff(
	w io.Writer,
	diff difflib.UnifiedDiff,
	opt Option,
) error

func WriteUnifiedDiff

func WriteUnifiedDiff(
	w io.Writer,
	diff difflib.UnifiedDiff,
	opt Option,
) error

Types

type Option

type Option struct {
	NoHeader         bool
	TabSize          int
	SeparatorSymbol  string
	SeparatorWidth   int
	SpaceSizeAfterLn int
}

Jump to

Keyboard shortcuts

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