Skip to content

Commit

Permalink
Added insecure delete to google recursive delete for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamZsofi committed Nov 13, 2022
1 parent 7a959fd commit 8e97f22
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import com.google.common.base.Stopwatch;
import com.google.common.io.Files;
import com.google.common.io.MoreFiles;
import com.google.common.io.RecursiveDeleteOption;
import hu.bme.mit.theta.analysis.*;
import hu.bme.mit.theta.analysis.algorithm.SafetyResult;
import hu.bme.mit.theta.analysis.algorithm.cegar.CegarStatistics;
Expand Down Expand Up @@ -168,7 +169,7 @@ private void run() {
final String tracePath = modelFile.getParent() + File.separator + "traces";
final File traceDir = new File(tracePath);
if(traceDir.exists()) {
MoreFiles.deleteRecursively(traceDir.toPath());
MoreFiles.deleteRecursively(traceDir.toPath(), RecursiveDeleteOption.ALLOW_INSECURE);
}
traceDir.mkdir();

Expand Down

0 comments on commit 8e97f22

Please sign in to comment.