diffcomparator

package
v0.0.0-...-1e5d451 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package diffcomparator compares generated shell configuration content.

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