I previously assumed that all zip files included entries for the directories. This assumption was incorrect. As it turns out, this is optional, and some utilities do not give directories their own entry.
This new logic ensures that regardless of how the zip is packed, we correctly get a list of the root directories to delete.
I previously assumed that all zip files included entries for the directories. This assumption was incorrect. As it turns out, this is optional, and some utilities do not give directories their own entry.
This new logic ensures that regardless of how the zip is packed, we correctly get a list of the root directories to delete.