binaries

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinDir

func BinDir(stellaHome string) string

BinDir returns the tool binaries directory path.

func EnsureTools

func EnsureTools(stellaHome string) error

EnsureTools extracts the embedded infrastructure binaries (see infraTools) to stellaHome/bin/. Gzip-compressed binaries in the embed FS are decompressed on extraction. All other embedded archives are ignored — those tools resolve through mise shims, not bin. Already-extracted binaries are skipped. Safe for concurrent calls.

func ToolNames

func ToolNames() []string

ToolNames returns the names of all embedded tools for the current platform.

func ToolPath

func ToolPath(stellaHome, name string) string

ToolPath returns the full path to a named tool binary, or empty if not embedded.

func VerifyTools

func VerifyTools(stellaHome string) error

VerifyTools checks that every tool present in the embedded FS was successfully extracted to stellaHome/bin. If the embedded FS has no tool archives (e.g. a dev build where pre-build dependency sync was not run), the check is skipped and nil is returned — the missing-binary error surfaces later when the tool is actually needed. Returns an error only when the FS is non-empty but one or more binaries are missing on disk after extraction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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