storage/drivers/windows
Alexander Larsson ddf18d41da Add Store.GarbageCollect() method
This looks in the container store for existing data dirs with ids not in
the container files and removes them. It also adds an (optional) driver
method to list available layers, then uses this and compares it to the
layers json file and removes layers that are not references.

Losing track of containers and layers can potentially happen in the
case of some kind of unclean shutdown, but mainly it happens at reboot
when using transient storage mode. Such users are recommended to run
a garbage collect at boot.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
2022-11-14 16:36:30 +01:00
..
jsoniter_windows.go Use json-iterator instead of encoding/json 2021-05-06 12:24:24 -04:00
windows.go Add Store.GarbageCollect() method 2022-11-14 16:36:30 +01:00
windows_windows_test.go Rename: cow/cowman -> storage/oci-storage 2016-07-18 17:35:50 -04:00