Age | Commit message (Collapse) | Author |
|
|
|
The WithRetry function returns true upon success; therefore a
failure occured if the negation of the value is true. We should
report an error only in case of failure.
|
|
...and use std::unique_ptr for construction instead of std::optional.
|
|
|
|
|
|
|
|
...and pass it to BazelCasClient
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...with direct access to mutable fields and drop additional deep copies.
|
|
|
|
...and remove ContentBlob.
|
|
|
|
...since it works with ArtifactBlobs only.
|
|
|
|
|
|
|
|
|
|
...and drop testing of invalid digests since ArtifactDigest always guarantees to hold a valid digest.
|
|
|
|
|
|
|
|
|
|
...and remove extra method.
|
|
|
|
|
|
|
|
...and while there, pass digests needed to be read by pointer to IncrementalReader to avoid an extra copy.
|
|
|
|
|
|
...with explicit std::unordered_set.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...and employ it in LocalApi.
|
|
|
|
|
|
|
|
...and ignore non-requested digests.
|
|
|
|
Extend the api to optionally accept a different API for preferred
fetching. This is already supported when fetching to a file path;
therefore, extend to keep the interface symmetric.
|
|
|