fsdiff

package
v0.0.0-...-5b37609 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delta

type Delta struct {
	Type   DeltaType
	Name   string
	Deltas []*Delta
}

func Tree

func Tree(aPath, bPath string, afs, bfs fs.FS, ignore ...string) (*Delta, error)

func (Delta) Changed

func (d Delta) Changed() bool

func (Delta) String

func (d Delta) String() string

type DeltaType

type DeltaType uint8
const (
	DTUnchanged DeltaType = iota
	DTAdd
	DTChange
	DTRemove
)

func (DeltaType) String

func (t DeltaType) String() string

Jump to

Keyboard shortcuts

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