diff options
author | Klaus Aehlig <aehlig@google.com> | 2018-04-23 01:51:01 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-23 01:52:42 -0700 |
commit | c49f9d8b50a7fe8984b51bc01d68b6923d52cc82 (patch) | |
tree | c851269360363bc39b25842e165c67a9b3bed7c7 /WORKSPACE | |
parent | 84d3097537f045a78baaebc3c6f2ffef4d814cb5 (diff) |
Repository cache: add a put method determining the key itself
Add a new put method to the repository cache, that computes the cache key
itself. The key is returned, so it can be reused without having to recompute
it. This is a convenient interface for caching a file that was downloaded
without prior knowledge of its hash.
Change-Id: I6ac844f4166bf64498b87e483896d155df35475e
PiperOrigin-RevId: 193889444
Diffstat (limited to 'WORKSPACE')
0 files changed, 0 insertions, 0 deletions