diff

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = NewCommand()

Cmd represents the diff command.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns a new diff command instance.

Types

type Formatter

type Formatter interface {
	Format(delta graphDelta) (string, error)
}

Formatter renders a dependency graph delta into a concrete output format.

func NewDiffFormatter

func NewDiffFormatter(format string) (Formatter, error)

NewDiffFormatter constructs a formatter for the requested output format.

type SemanticAnalyzer

type SemanticAnalyzer func(base, target depgraph.DependencyGraph, delta graphDelta) ([]string, error)

SemanticAnalyzer computes optional semantic findings from two snapshots and their structural delta.

Jump to

Keyboard shortcuts

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