Help us shape the future of Go! Take the 2026 Go Developer Survey

skel

package
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package skel seeds the embedded rocketclaw skeleton into workspaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceRuntimeAssetsAfterValidation added in v0.0.25

func ReplaceRuntimeAssetsAfterValidation(workspace, runtimeDir string, overlays []string, logger *slog.Logger, locked *config.LockedConfig, validate func(string) error) error

ReplaceRuntimeAssetsAfterValidation rebuilds runtime assets in a stage and replaces live assets only after validate accepts the staged work dir. locked must be shared with definition readers; validation runs outside Do so it can load staged definitions.

func SyncEffectiveRuntimeAssets added in v0.0.7

func SyncEffectiveRuntimeAssets(workspace, target string, overlays []string, logger *slog.Logger) error

SyncEffectiveRuntimeAssets materializes startup-equivalent runtime assets into target without touching runtime state or workspace script symlinks.

func SyncInWithOverlays

func SyncInWithOverlays(workspace, runtimeDir string, overlays []string, logger *slog.Logger) error

SyncInWithOverlays materializes embedded setup files, configured git overlays, and local overlays into runtimeDir.

Types

type OverlayInfo added in v0.0.2

type OverlayInfo struct {
	Spec, URL, Ref, ClonePath string
}

OverlayInfo describes one configured git overlay materialized by SyncInWithOverlays.

func OverlayInfos added in v0.0.2

func OverlayInfos(workspace, runtimeDir string, overlays []string) []OverlayInfo

OverlayInfos returns normalized configured overlay clone metadata in config order.

Jump to

Keyboard shortcuts

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