Is there any property of DBMetaData that I can use to load images only.
My Logic :
if fileMetaData.isDirectory
{
self.restClient.loadMetadata(fileMetaData.path)
}
else
if fileMetaData.isOfImageType {
self.restClient.loadFile("\((tempFile as! DBMetadata).path)", intoPath: localPath)
}