Documentation ¶
Overview ¶
Package merger provides methods for merging parsed BUILD files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeWithExisting ¶
MergeWithExisting merges "genFile" with "oldFile" and returns the merged file.
"genFile" is a file generated by Gazelle. It must not be nil. "oldFile" is the existing file. It may be nil if no file was found.
If "oldFile" is nil, "genFile" will be returned. If "oldFile" contains a "# gazelle:ignore" comment, nil will be returned. If an error occurs, it will be logged, and nil will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.