Skip to content

Commit

Permalink
Merge branch 'fast_checksum'
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Dec 7, 2016
2 parents 8e2be02 + 75a6472 commit 6c3492c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mountainprocess/src/scriptcontroller2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ QJsonObject make_prv_object_2(QString path)
QJsonObject obj;
obj["original_path"] = path;
obj["original_checksum"] = MLUtil::computeSha1SumOfFile(path);
obj["original_fcs"] = "head1000-"+MLUtil::computeSha1SumOfFileHead(path,1000);
obj["original_size"] = QFileInfo(path).size();
return obj;
}
Expand Down

0 comments on commit 6c3492c

Please sign in to comment.