workspace

package
v1.509.25 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultFinder = &finder{
	osStat: os.Stat,
}

DefaultFinder is the Finder with default dependencies.

Functions

func IsNotFoundError added in v0.11.0

func IsNotFoundError(err error) bool

Determines whether the provided error is a NotFoundError.

Types

type Finder

type Finder interface {
	Find(string) (string, error)
}

Finder wraps the Find method that performs the finding of the WORKSPACE file in the user's Bazel project.

type NotFoundError added in v0.11.0

type NotFoundError struct {
	StartDir string
}

Represents a failure to find a Bazel workspace.

func (*NotFoundError) Error added in v0.11.0

func (nfe *NotFoundError) Error() string

Directories

Path Synopsis
Package mock contains generated files.
Package mock contains generated files.

Jump to

Keyboard shortcuts

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