gcs-client: Return error when download dir missing

If DownloadDir is called for a GCS path which has no descendants, this
should be an error since it implies that the corresponding virtual GCS
directory does not actually exist.

BUG=None
TEST=presubmit

Change-Id: I84773248773f93cf7f51166774b5cae8a1db078d
Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/163225
Cloud-Build: 228075978874@cloudbuild.gserviceaccount.com <228075978874@cloudbuild.gserviceaccount.com>
Reviewed-by: Angel Adetula <angeladetula@google.com>
Tested-by: Kevin Berry <kpberry@google.com>
1 file changed
tree: 236abc2127aeb8afcd055defdd8bc5608ba83653
  1. coverage/
  2. release/
  3. src/
  4. testing/
  5. vendor/
  6. .bazelignore
  7. .gitignore
  8. BUILD.bazel
  9. cloudbuild.yaml
  10. CONTRIBUTING.md
  11. deps.bzl
  12. go.mod
  13. go.sum
  14. LICENSE
  15. postsubmit-cloudbuild.yaml
  16. README.md
  17. run_builds.sh
  18. run_unit_tests.sh
  19. WORKSPACE
README.md

Tools for Container-Optimized OS

This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.

See CONTRIBUTING.md for how to contribute.