public static AssertDeleteFile ( string file ) : void | ||
file | string | |
return | void |
internal bool Execute() { Utilities.AssertDeleteFile(_application.Settings.Backup.LogFile); SetupEnvironment(); if (!BackupEnvironment()) { return(false); } DeleteEnvironment(); RestoreEnvironment(); ConfirmRestore(); Directory.Delete(_backupDir, true); return(true); }