diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-08-26 21:41:56 +0100 |
---|---|---|
committer | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-08-28 15:59:04 +0100 |
commit | b703110e56921697e2f28004da9cf9c4c3fe7787 (patch) | |
tree | e681bbb13533f19594381ea6fae08c605e9ff0d6 /src/virtBootstrap/progress.py | |
parent | 376dd96934de59d72db5fde376533bcba2bdc670 (diff) | |
download | virt-bootstrap.git-b703110e56921697e2f28004da9cf9c4c3fe7787.tar.gz virt-bootstrap.git-b703110e56921697e2f28004da9cf9c4c3fe7787.tar.xz virt-bootstrap.git-b703110e56921697e2f28004da9cf9c4c3fe7787.zip |
Get layer size if not provided
Docker registry with Manifest v1 does not require the size of layers to
be included. However, when this information is not provided we can use
os.path.getsize() to get and show the size of tarball. We can also
use this function for FileSource to provide consistent output messages.
Diffstat (limited to 'src/virtBootstrap/progress.py')
0 files changed, 0 insertions, 0 deletions