diffcomparator

package
v0.0.0-...-df28f01 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparator

type Comparator struct {
	// contains filtered or unexported fields
}

Comparator compares two files and generates diff results

func NewComparator

func NewComparator(fs afero.Fs) *Comparator

NewComparator creates a new file comparator

func (*Comparator) Compare

func (c *Comparator) Compare(originalPath, generatedPath string, format domain.DiffFormat) (*domain.DiffResult, error)

Compare compares two files and returns the diff result

Jump to

Keyboard shortcuts

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