create backup record function added
This commit is contained in:
parent
d64bea4503
commit
9e7d6db112
1 changed files with 10 additions and 1 deletions
|
@ -28,7 +28,16 @@ namespace Saviour_Backup_System
|
|||
|
||||
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)
|
||||
|
|
Reference in a new issue