1.2.0
ZIPFolder
An array of entries can be converted into a structured hierarchy:
let entries = try await URLSession(configuration: .ephemeral).zipEntries(from: url)
let rootFolder = entries.rootFolder()
ZIPFolder
consists of:
name
entries: [ZIPEntry]
subfolders: [ZIPFolder]
size
(including size of subfolders)lastModificationDate
Demo
The demo has been updated to navigate through the file hierarchy:
