mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Make the SessionDirectories type responsible for cleaning up data. (#3261)
This commit is contained in:
@@ -57,4 +57,8 @@ extension FileManager {
|
||||
|
||||
return size
|
||||
}
|
||||
|
||||
func numberOfItems(at url: URL) throws -> Int {
|
||||
try contentsOfDirectory(at: url, includingPropertiesForKeys: nil).count
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user