-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gcimporter: require binary export data header
FindExportData now returns an error if the header indicating the beginning of the export data is not "$$B\n". (Historically "$$\n" was also used for non-binary export data.) The signature of FindExportData no longer returns hdr as it is redundant. This also simplifies internal/gcimporter.Import using this new assumption. Updates golang/go#70651 Change-Id: I0d136d6c474ae6a7bfc2baeb33c22fd412711452 Reviewed-on: https://go-review.googlesource.com/c/tools/+/633279 Reviewed-by: Robert Griesemer <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Commit-Queue: Tim King <[email protected]> Reviewed-by: Robert Findley <[email protected]>
- Loading branch information
1 parent
9a04136
commit c01eead
Showing
3 changed files
with
50 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters