[cas] Read files once (#335)

* [cas] Read files once

Currently PathExclude regexp is incorporated into the cache key
unconditionally. However, it is really needed only for directories.
There is no need to do this for regular files and symlinks,
otherwise the same regular file may be read more than once.

Do not incorporate the PathExclude into cache key for regular files.

Co-authored-by: Rubens Farias <rubensf@google.com>
2 files changed
tree: 0ce49491cfbc1aecd1d68a0747bbcfa3068a2d4b
  1. .bazelci/
  2. .githooks/
  3. .github/
  4. external/
  5. go/
  6. .gitignore
  7. .golangci.yml
  8. AUTHORS
  9. BUILD.bazel
  10. check-gofmt.sh
  11. CONTRIBUTING.md
  12. CONTRIBUTORS
  13. go.mod
  14. go.sum
  15. LICENSE
  16. README.md
  17. remote-apis-sdks-deps.bzl
  18. setup-githooks.sh
  19. WORKSPACE
README.md

Remote Execution API SDKs

CI status: Build Status

PkgGoDev

This repository contains SDKs for the Remote Execution API.

See each language subdirectory's README.md for more specific instructions on using the SDK for that language.