devoutputs

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package devoutputs owns explicitly selected repository producer outputs. It is native-independent and shared by workspace builders and actual process owners.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsViteConfigTemporaryFile

func IsViteConfigTemporaryFile(name string) bool

IsViteConfigTemporaryFile identifies only Vite's exact source-root loader stamp names. Watchers and ownership snapshots share this one convention.

func Publish

func Publish(ctx context.Context, stages ...*Stage) error

Publish preflights every supplied destination before any source publication. Captured after-images and rename progress survive interruption for exact retry.

Types

type Producer

type Producer string
const (
	Distribution Producer = "distribution"
	Bindings     Producer = "bindings"
	Shims        Producer = "shims"
	YAMLWorker   Producer = "yaml-worker"
)

type Stage

type Stage struct {
	Directory string
	// contains filtered or unexported fields
}

func Prepare

func Prepare(ctx context.Context, w devcontract.ResolvedWorkspace, consumer string, kind Producer) (*Stage, error)

func (*Stage) Abort

func (stage *Stage) Abort(ctx context.Context) error

Abort records the controlled failed producer's exact stage before removing only that stage. It never rewinds user source or an in-progress publication.

type Writer

type Writer struct {
	Environment []string
	// contains filtered or unexported fields
}

Writer is a real process-lifetime capability. Finish is legal only after the actual command and its owned descendants have stopped, never on transport loss.

func BeginCompositionInstall

func BeginCompositionInstall(ctx context.Context, w devcontract.ResolvedWorkspace, p devcompose.Plan) (*Writer, error)

BeginCompositionInstall reserves only the fixed feature modules directory and actual packages selected by the validated composition. The returned capability must outlive the install command and all its descendants; uncertain disposal must retain it without calling Finish.

func BeginInstall

func BeginInstall(ctx context.Context, w devcontract.ResolvedWorkspace, consumerRoot string) (*Writer, error)

func BeginVite

func BeginVite(ctx context.Context, w devcontract.ResolvedWorkspace, consumerRoot string) (*Writer, error)

func (*Writer) Finish

func (writer *Writer) Finish(ctx context.Context) error

Jump to

Keyboard shortcuts

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