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
Determines whether the provided error is a NotFoundError.
Types ¶
type Finder ¶
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
Click to show internal directories.
Click to hide internal directories.