fsbaselineutil

package
v0.0.0-...-e3beec5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiffEntry

type DiffEntry struct {
	Content       string
	MTime         time.Time
	IsWritten     bool
	SymlinkTarget string
}

type FSDiffer

type FSDiffer struct {
	FS           iovfs.FsWithSys
	DefaultLibs  func() *collections.SyncSet[string]
	WrittenFiles *collections.SyncSet[string]
	// contains filtered or unexported fields
}

func (*FSDiffer) BaselineFSwithDiff

func (d *FSDiffer) BaselineFSwithDiff(baseline io.Writer)

func (*FSDiffer) MapFs

func (d *FSDiffer) MapFs() *vfstest.MapFS

func (*FSDiffer) SerializedDiff

func (d *FSDiffer) SerializedDiff() *Snapshot

type Snapshot

type Snapshot struct {
	Snap        map[string]*DiffEntry
	DefaultLibs *collections.SyncSet[string]
}

Jump to

Keyboard shortcuts

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