1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
saviour-backup-system/Algorithms/has drive changed since backup.pseudo

5 lines
214 B
Text
Raw Permalink Normal View History

(backupName, driveLetter)
driveHash <-- calculateHash(driveLetter)
backupHash = ExecuteSQL("SELECT Hash FROM Backups WHERE backupName = {}", backupName)
if backupName is driveHash then return False
Else return True