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

uv

package
v0.11.792 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.10.8"

	// Shell is the shell to use for running commands.
	Shell = "/bin/sh"
	// ShellSubcommandFlag is the flag to pass to the shell to run a command.
	ShellSubcommandFlag = "-c"
)

Variables

This section is empty.

Functions

func Environment added in v0.11.783

func Environment() ([]string, error)

Environment keeps uv-managed caches and Python installations in BRUIN_HOME when configured. Explicit UV_* settings continue to take precedence.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

Checker handles checking and installing the uv package manager.

func (*Checker) EnsureUvInstalled

func (u *Checker) EnsureUvInstalled(ctx context.Context) (string, error)

EnsureUvInstalled checks if uv is installed and installs it if not present, then returns the full path of the binary.

Jump to

Keyboard shortcuts

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