Перенос.

This commit is contained in:
2023-09-17 22:13:42 +03:00
parent dd2e0ca7e0
commit 629d8b8477
1239 changed files with 61161 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
package Visual_DVM_2021.Passes.All;
import Visual_DVM_2021.Passes.CurrentComponentPass;
import java.nio.file.Files;
import java.nio.file.StandardCopyOption;
public class CreateComponentBackUp extends CurrentComponentPass {
@Override
protected void body() throws Exception {
//form.ShowMessage2("копирование предыдущей версии...");
if (target.getFile().exists())
Files.copy(target.getFile().toPath(), target.getBackUpFile().toPath(), StandardCopyOption.REPLACE_EXISTING);
}
}