MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / BackupBoth

Method BackupBoth

ui/Services/Patching/Patcher.cs:824–828  ·  view source on GitHub ↗

Bracket both backups before either write so partial states are recoverable.

(string firstPath, string secondPath)

Source from the content-addressed store, hash-verified

822
823 // Bracket both backups before either write so partial states are recoverable.
824 void BackupBoth(string firstPath, string secondPath)
825 {
826 Backup(firstPath);
827 Backup(secondPath);
828 }
829
830 void ReEncryptAndWrite(string cachePath, byte[] patchedPayload, byte[] iv)
831 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected