Open uguraltinsoy opened 2 months ago
webdavProvider.contentsOfDirectory(path: "/", completionHandler: { contents, error in for file in contents { print("Name: \(file.name)") print("Size: \(file.size)") print("is Folder: \(file.isDirectory)") print("Creation Date: \(file.creationDate)") print("Modification Date: \(file.modifiedDate)") print("Path: \(file.path)") print("Childrens Count: \(file.childrensCount)") } })
Result
Name: Time Machine Size: -1 is Folder: true Creation Date: nil Modification Date: Optional(2024-07-19 22:36:58 +0000) Path: /Time Machine Childrens Count: nil
Result