diff

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Diff

type Diff struct {
	Metadata Metadata         `hcl:"metadata"`
	Steps    []*executor.Step `hcl:"step"`
}

func DefaultDiff

func DefaultDiff(path string, prev *Diff) (e *Diff)

func GetDiff

func GetDiff(path, name string) (*Diff, error)

func (*Diff) Execute

func (e *Diff) Execute() error

func (*Diff) Flush

func (d *Diff) Flush(root string) error

func (*Diff) IgnoreFile

func (e *Diff) IgnoreFile(root string) ([]string, error)

type Metadata

type Metadata struct {
	Path string `hcl:"path"`
	Name string `hcl:"name"`
}

type TeeWriter

type TeeWriter struct {
	File io.Writer
}

func (*TeeWriter) Write

func (tee *TeeWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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