wspace

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: 2 Imported by: 0

Documentation

Overview

Package wspace provides functions to locate and modify a bazel WORKSPACE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindWORKSPACEFile

func FindWORKSPACEFile(root string) string

FindWORKSPACEFile returns a path to a file in the provided root directory, either to an existing WORKSPACE or WORKSPACE.bazel file, or to root/WORKSPACE if neither exists. Note that this function does NOT recursively check parent directories.

func IsWORKSPACE added in v1.508.16

func IsWORKSPACE(path string) bool

IsWORKSPACE checks whether path is named WORKSPACE or WORKSPACE.bazel

Types

This section is empty.

Jump to

Keyboard shortcuts

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