setup

package
v0.0.0-...-c977e9b Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Integrity string = ".integrity"

Variables

This section is empty.

Functions

func NormalizePath

func NormalizePath(path string) string

Normalizes static test data to fit the os specific notation

Types

type File

type File struct {
	RelativePath string
	ModTime      time.Time
	Permission   fs.FileMode
	Content      string
}

func NewFile

func NewFile(relativePath string, modTime string, content string) File

type Files

type Files []File

func (*Files) Map

func (f *Files) Map() map[string]File

type Scenario

type Scenario struct {
	BaseDir     string
	SourceDir   string
	SourceFiles Files
	TargetDir   string
	TargetFiles Files
	Binary      string
}

func NewScenario

func NewScenario(name string, source Files, target Files, options config.OptionsDto) Scenario

Jump to

Keyboard shortcuts

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