59a8a7fbfe
Go 1.10 made some breaking changes to the headers in archive/tar [1] and archive/zip [2], breaking the expected values in tests. In order to keep tests passing with both, wherever a hardcoded hash is expect we switch on `runtime.Version()` to select whether we want the Go 1.9 (currently supported Go version) or later version of the hash. Eventually these switches should be removed in favour of using the later version only, so they are liberally commented to explain the reasoning. [1]: https://golang.org/doc/go1.10#archive/tar [2]: https://golang.org/doc/go1.10#archive/zip |
||
---|---|---|
.. | ||
apitype | ||
backend | ||
diag | ||
encoding | ||
engine | ||
graph | ||
operations | ||
resource | ||
testing | ||
tokens | ||
tools | ||
util | ||
version | ||
workspace |