jupyterhub / docker-image-cleaner

Python script to cleanup unused docker images
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

`get_absolute_size` reports zero if lacking file system access - can we error instead? #124

Closed consideRatio closed 1 year ago

consideRatio commented 1 year ago

It seems that get_absolute_size reports a 0 size on disk for a folder if it lacks access to inspect it. It would be good if we could error instead if that happens, because it needs to be informed about this properly.