Skip to content
Commit 3bd589b9 authored by Tiago Gomes's avatar Tiago Gomes
Browse files

artifactcache: return overhead required to store an artifact

Track amount of bytes required to commit or pull an artifact and return
this data on pull() and commit().

The commit() return value is more accurate than computing the size of
the artifact staging directory, as it takes deduplication into account.

This will be used in a following commit to dynamically update the cache
size.
parent c285f244
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment