amosavian / FileProvider

FileManager replacement for Local, iCloud and Remote (WebDAV/FTP/Dropbox/OneDrive) files -- Swift
MIT License
56 stars 14 forks source link

childrensCount returns no value #188

Open uguraltinsoy opened 2 months ago

uguraltinsoy commented 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