uv

package
v0.11.367 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.6.16"

	// 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

This section is empty.

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