diff

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DomToYAML

func DomToYAML(content []byte) string

DomToYAML converts HTML DOM to YAML representation for use with dyff.

func FormatToNormalizedHTML

func FormatToNormalizedHTML(content []byte) (string, error)

FormatToNormalizedHTML converts HTML content to a nicely formatted string for diff display.

func GenerateUnifiedDiff

func GenerateUnifiedDiff(file1, file2, content1, content2 string) string

GenerateUnifiedDiff creates a unified diff format output (compatible with colordiff).

Types

This section is empty.

Jump to

Keyboard shortcuts

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