depot_tools

package
v0.0.0-...-7544f7c Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DepotToolsTestEnvVar = "SKIABOT_TEST_DEPOT_TOOLS"
	DepotToolsURL        = "https://chromium.googlesource.com/chromium/tools/depot_tools.git"
)

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() (string, error)

Determine the desired depot_tools revision.

func GetDepotTools

func GetDepotTools(ctx context.Context, workdir 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 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
Parse the DEPS file and generate Go code with its contents.
Parse the DEPS file and generate Go code with its contents.

Jump to

Keyboard shortcuts

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