depot_tools

package
v0.0.0-...-1092e40 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: BSD-3-Clause Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DEPOT_TOOLS_TEST_ENV_VAR = "SKIABOT_TEST_DEPOT_TOOLS"
)

Variables

This section is empty.

Functions

func Env

func Env(depotToolsPath string) []string

Env returns the environment used for depot_tools commands.

func FindVersion

func FindVersion(recipesCfgFile string) (string, error)

Determine the desired depot_tools revision.

func GetDepotTools

func GetDepotTools(ctx context.Context, workdir, recipesCfgFile string) (string, error)

GetDepotTools returns the path to depot_tools, syncing it into the given workdir if necessary.

func Sync

func Sync(ctx context.Context, workdir, recipesCfgFile string) (string, error)

Sync syncs the depot_tools checkout to DEPOT_TOOLS_VERSION. Returns the location of the checkout or an error.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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