Documentation ¶
Overview ¶
package bazelfiles is used to find and handle Bazel WORKSPACE and bzl files.
Index ¶
Constants ¶
View Source
const ( BazelFileTypeBzl = iota // BazelFileTypeBzl is a .bzl file BazelFileTypeWorkspace // BazelFileTypeWorkspace is a WORKSPACE or WORKSPACE.bzlmod file )
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.