Documentation
¶
Overview ¶
Package devoutputs owns explicitly selected repository producer outputs. It is native-independent and shared by workspace builders and actual process owners.
Index ¶
- func IsViteConfigTemporaryFile(name string) bool
- func Publish(ctx context.Context, stages ...*Stage) error
- func Restore(ctx context.Context, w devcontract.ResolvedWorkspace) error
- func Validate(ctx context.Context, w devcontract.ResolvedWorkspace) error
- type Producer
- type Stage
- type ViteBuild
- type Writer
- func BeginCompositionInstall(ctx context.Context, w devcontract.ResolvedWorkspace, p devcompose.Plan) (*Writer, error)
- func BeginInstall(ctx context.Context, w devcontract.ResolvedWorkspace, consumerRoot string) (*Writer, error)
- func BeginVite(ctx context.Context, w devcontract.ResolvedWorkspace, consumerRoot string) (*Writer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsViteConfigTemporaryFile ¶
IsViteConfigTemporaryFile identifies only Vite's exact source-root loader stamp names. Watchers and ownership snapshots share this one convention.
func Publish ¶
Publish preflights every supplied destination before any source publication. Captured after-images and rename progress survive interruption for exact retry.
func Restore ¶
func Restore(ctx context.Context, w devcontract.ResolvedWorkspace) error
func Validate ¶
func Validate(ctx context.Context, w devcontract.ResolvedWorkspace) error
Types ¶
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)
type ViteBuild ¶ added in v0.7.0
type ViteBuild struct {
// contains filtered or unexported fields
}
ViteBuild owns one finite ordered canonical build, not reusable validation. Finish requires every actual producer and descendant to have joined.
func BeginViteBuild ¶ added in v0.7.0
func BeginViteBuild(ctx context.Context, w devcontract.ResolvedWorkspace, plan devcompose.Plan, consumers []string) (*ViteBuild, error)
func (*ViteBuild) Environment ¶ added in v0.7.0
Environment checks each actual consumer immediately before its producer. Immutable aggregate content is never accepted from an intermediate image.
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)