added param to folderIterator to skip/follow symbolic links

This commit is contained in:
csoler 2016-11-16 21:41:32 +01:00
parent 608d0d0a65
commit 6272856b5e
7 changed files with 27 additions and 7 deletions

View file

@ -141,7 +141,7 @@ void LocalDirectoryUpdater::recursUpdateSharedDir(const std::string& cumulated_p
// make sure list of subfiles is the same
// request all hashes to the hashcache
librs::util::FolderIterator dirIt(cumulated_path);
librs::util::FolderIterator dirIt(cumulated_path,false);
time_t dir_local_mod_time ;
if(!mSharedDirectories->getDirectoryLocalModTime(indx,dir_local_mod_time))