1
Fork 0

create backup record function added

This commit is contained in:
Jake Howard 2014-12-08 18:04:33 +00:00
parent d64bea4503
commit 9e7d6db112

View file

@ -28,7 +28,16 @@ namespace Saviour_Backup_System
else if (!Directory.Exists(endDirectory)) { MessageBox.Show("The end directory does not exist."); } else if (!Directory.Exists(endDirectory)) { MessageBox.Show("The end directory does not exist."); }
else { copyFiles(drive.Name.Substring(0, 1), endDirectory, visible); } else {
string hash = tools.hashDirectory(drive.Name);
copyFiles(drive.Name.Substring(0, 1), endDirectory, visible);
}
}
public void createBackupRecord(DriveInfo drive, string hash) {
string id = USBTools.calculateDriveID(drive);
} }
private void copyFiles(string driveLetter, string endDirectory, bool display) //actually starts the backups (and loads the dialogs) private void copyFiles(string driveLetter, string endDirectory, bool display) //actually starts the backups (and loads the dialogs)