bazel

package
v4.0.0-...-ae7b6de Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltWithBazel

func BuiltWithBazel() bool

BuiltWithBazel returns true iff this library was built with Bazel.

func FindBinary

func FindBinary(pkg, name string) (string, bool)

FindBinary is not implemented.

func NewTmpDir

func NewTmpDir(prefix string) (string, error)

NewTmpDir is not implemented.

func RelativeTestTargetPath

func RelativeTestTargetPath() string

RelativeTestTargetPath is not implemented.

func Runfile

func Runfile(string) (string, error)

Runfile is not implemented.

func RunfilesPath

func RunfilesPath() (string, error)

RunfilesPath is not implemented.

func SetGoEnv

func SetGoEnv()

SetGoEnv is not implemented.

func TestDataPath

func TestDataPath(t testing.TB, relative ...string) string

TestDataPath returns a path to an asset in the testdata directory. It knows to access accesses the right path when executing under bazel.

For example, if there is a file testdata/a.txt, you can get a path to that file using TestDataPath(t, "a.txt").

func TestTmpDir

func TestTmpDir() string

TestTmpDir is not implemented.

Types

This section is empty.

Jump to

Keyboard shortcuts

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