packcmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID = "srcpack_pack"
)

Variables

Functions

func Bundle

func Bundle(_ map[string]string) compiler.Bundle

func ResolveInput

func ResolveInput(ctx context.Context, fields map[string]any) (map[string]any, error)

ResolveInput accepts only typed fields produced by tcli (or a test adapter); it never interprets raw argv.

func WithInvocation

func WithInvocation(ctx context.Context, command string, explicitPack bool, _ string) context.Context

func WithRemoteSession

func WithRemoteSession(ctx context.Context) (context.Context, func() error)

WithRemoteSession scopes downloaded source trees to one runner invocation. The host must defer the returned cleanup on both success and failure. Keeping this in the host also covers errors in downstream parsing/rendering.

Types

This section is empty.

Jump to

Keyboard shortcuts

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