astcmp

package
v0.0.0-...-70fd0a4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package astcmp contains types and method to compare YAML ASTs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparator

type Comparator struct{}

Comparator implements AST comparing logic.

func NewComparator

func NewComparator() *Comparator

func (*Comparator) Equal

func (c *Comparator) Equal(first, second ast.Node) bool

Equal shows if two YAML ASTs are equal.

Jump to

Keyboard shortcuts

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