Documentation
¶
Overview ¶
package bazelfiles is used to find and handle Bazel WORKSPACE and bzl files.
Index ¶
Constants ¶
View Source
const ( // BazelFileTypeBzl is a .bzl file. BazelFileTypeBzl = iota // BazelFileTypeWorkspace is a WORKSPACE or WORKSPACE.bzlmod file. BazelFileTypeWorkspace )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BazelFile ¶
type BazelFile struct { RelPath string AbsPath string Type BazelFileType }
BazelFile is a reference (path) to a Bazel file.
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
Helper is used to find and handle Bazel WORKSPACE and bzl files.
func (*Helper) Diff ¶
Diff returns the diff between the saved and the updated (in-memory) version of a Bazel file.
Click to show internal directories.
Click to hide internal directories.