Skip to content

Commit

Permalink
Merge branch 'main' of https://gitee.com/opguess/QSyncUi
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidenShogunShadow committed Jul 10, 2024
2 parents 4a3dc3d + 8024ba5 commit 8d1487e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion filefunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ void Filefunc::addSynctask(const QString &path)
QString cloudPath=task->getRemotePath()+relativePath;
headHeader tmpHeaders;
preResponse response=cosclient->headObject(cloudPath,"",tmpHeaders);
response.getMetaDatas().isEmpty();
if(!cosclient->isExist(response)){
cosclient->putLocalObject(cloudPath,path);
}
}


0 comments on commit 8d1487e

Please sign in to comment.