output

package
v0.0.0-...-f226991 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names(input string, count int) []string

Types

type FileOps

type FileOps interface {
	Rename(oldPath, newPath string) error
	Remove(path string) error
	MkdirAll(path string, perm fs.FileMode) error
}

type Transaction

type Transaction struct {
	// contains filtered or unexported fields
}

func Begin

func Begin(outputDir string, names []string, overwrite bool, ops FileOps) (*Transaction, error)

func (*Transaction) Abort

func (t *Transaction) Abort() error

func (*Transaction) Commit

func (t *Transaction) Commit() error

func (*Transaction) StagePath

func (t *Transaction) StagePath(index int) string

Jump to

Keyboard shortcuts

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