feature/multi-threading #2

Merged
ProfessionalUwU merged 10 commits from feature/multi-threading into main 2023-06-29 02:15:11 +02:00
Showing only changes of commit e12117fba8 - Show all commits

View File

@ -112,7 +112,7 @@ public class ChksumUtils {
string absolutePathToFile = file.Key;
string fileName = Path.GetFileName(absolutePathToFile);
string pathToFile = Path.GetRelativePath(DatabaseRoot, absolutePathToFile);
string fileHash = "";
string fileHash = file.Value;
if (checkIfFileMovedAndUpdatePathToFile(fileHash, fileName, pathToFile) == false && checkIfFileAlreadyExistsInDatabase(fileHash, fileName) == false) {
connection.Open();