summaryrefslogtreecommitdiffstats
path: root/src/virtBootstrap/progress.py
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2017-08-26 21:41:56 +0100
committerRadostin Stoyanov <rstoyanov1@gmail.com>2017-08-28 15:59:04 +0100
commitb703110e56921697e2f28004da9cf9c4c3fe7787 (patch)
treee681bbb13533f19594381ea6fae08c605e9ff0d6 /src/virtBootstrap/progress.py
parent376dd96934de59d72db5fde376533bcba2bdc670 (diff)
downloadvirt-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