Store files in a directory tree, answer the total size of any folder, and keep those totals right when things are deleted.
Store files in a directory tree, answer the total size of any folder, and keep those totals right when things are deleted.
The discussion opens with the full question.