ownedoutput

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const ManifestName = ".unobin-generated.json"

Variables

This section is empty.

Functions

func Apply

func Apply(dir string, generator Generator, files []File) ([]filechange.Change, error)

Types

type File

type File struct {
	Path    string
	Content []byte
	Mode    fs.FileMode
	// Preserve creates a file once and retains later edits and obsolete implementations.
	Preserve bool
	Marker   string
	// RemoveIfUnchanged removes obsolete scaffolds only while their initial content is intact.
	RemoveIfUnchanged bool
	// Managed allows tooling edits and replaces the file on each generation.
	Managed bool
}

type Generator

type Generator struct {
	Name    string
	Version string
}

Jump to

Keyboard shortcuts

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