commit | 8eed84023e0c4fcf360e5a26b6b50b01a876f508 | [log] [tgz] |
---|---|---|
author | Anthony Fandrianto <atyfto@google.com> | Wed May 05 23:38:56 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Wed May 05 23:38:56 2021 +0000 |
tree | d1a1f8333ea0cf4b6227c290ccc3d778cfc5b353 | |
parent | f3f2b05da49c7e686589282f7247ce8d6d9a16e5 [diff] |
[gitiles] Add DownloadFile function This change adds a helper function in gitiles.go which can be used to download a file directly from Gitiles without checking out the full repo. Bug: 70425 Change-Id: I673edea581b5078e5b2198fb5b9621bea2a0ccea Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/525604 Commit-Queue: Anthony Fandrianto <atyfto@google.com> Fuchsia-Auto-Submit: Anthony Fandrianto <atyfto@google.com> Reviewed-by: Oliver Newman <olivernewman@google.com>