workspace

package
v0.0.0-...-f6334c0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

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

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

type NotFoundError struct {
	StartDir string
}

Represents a failure to find a Bazel workspace.

func (*NotFoundError) Error

func (nfe *NotFoundError) Error() string

Jump to

Keyboard shortcuts

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