commit | 84d157557b5f07d05226ff9425afcea8014cb96a | [log] [tgz] |
---|---|---|
author | David Fang <fangism@google.com> | Fri Dec 08 19:32:02 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 11 17:34:02 2023 +0000 |
tree | 53cd115eaf6571076bd578a387c00eed0949c828 | |
parent | 1717378e086c478e4ae002593ce031cfeaa68c61 [diff] |
[build] Copy over only if contents have changed Let ninja restat prune actions that don't need to re-run. Compare source and destination files line-by-line to avoid reading whole files into memory, and to return as soon as any difference is found. Add unit tests. Bug: 135011 Change-Id: I0c6ffc75436cada5b768f893ec26c29c246b6a70 Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/957953 Reviewed-by: Bruno Dal Bo <brunodalbo@google.com> Commit-Queue: David Fang <fangism@google.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.