spiegel_podman/pkg/domain
Nalin Dahyabhai c400cc7ead libpod/Container.rootFsSize(): use recorded image sizes
In rootFsSize(), instead of calculating the size of the diff for every
layer of the container's base image, ask the storage library for the sum
of the values it recorded when it first wrote those layers.

In a similar fashion, teach rwSize() to use the library's
ContainerSize() method instead of trying to roll its own.

Replace calls to pkg/util.SizeOfPath() with calls to
github.com/containers/storage/pkg/directory.Size(), which does the same
thing.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2023-05-09 09:33:37 -04:00
..
entities Add {{.Restarts}} to podman pod ps 2023-05-02 10:30:07 -04:00
filters fix != filter in volume prune 2023-02-15 10:55:21 +05:30
infra libpod/Container.rootFsSize(): use recorded image sizes 2023-05-09 09:33:37 -04:00
utils Merge pull request #17309 from dwagin/dwagin/ssh_exec_identity 2023-02-20 16:31:57 +01:00