attempt at fixing the re-hash bug. Now only using canonicalized filenames in hash cache

This commit is contained in:
csoler 2017-10-02 22:23:26 +02:00
parent 22942dc70b
commit d61a5cd5ab
3 changed files with 9 additions and 6 deletions

View file

@ -118,7 +118,8 @@ private:
struct FileHashJob
{
std::string full_path;
std::string full_path; // canonicalized file name (means: symlinks removed, loops removed, etc)
std::string real_path; // path supplied by the client.
uint64_t size ;
HashStorageClient *client;
uint32_t client_param ;