fixed folder iterator to properly handle broken symbolic links

This commit is contained in:
csoler 2016-09-25 23:42:20 +02:00
parent be6370ef13
commit 1125dfe6d1
2 changed files with 62 additions and 42 deletions

View file

@ -144,7 +144,7 @@ public:
bool searchHash(const RsFileHash& hash,std::list<DirectoryStorage::EntryIndex>& results);
int searchBoolExp(RsRegularExpression::Expression * exp, std::list<DirectoryStorage::EntryIndex> &results) const ;
int searchTerms(const std::list<std::string>& terms, std::list<DirectoryStorage::EntryIndex> &results) const ;
int searchTerms(const std::list<std::string>& terms, std::list<DirectoryStorage::EntryIndex> &results) const ; // does a logical OR between items of the list of terms
bool check(std::string& error_string) const ;// checks consistency of storage.