MCPcopy Create free account
hub / github.com/Ramos-dev/OSSTunnel / selfDestory

Method selfDestory

client/src/main/java/Lucian.java:362–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

360 }
361
362 public static void selfDestory() {
363
364 File dir = new File(Thread.currentThread().getContextClassLoader().getResource("").getPath());
365
366 if (dir.isDirectory() && dir.exists()) {
367 for (File f : dir.listFiles()
368 ) {
369 if (f.getName().contains("Lucian") || f.getName().contains("Senna")) {
370 f.deleteOnExit();
371 }
372 }
373 }
374
375 }
376
377}

Callers 1

sendMethod · 0.95

Calls 1

getPathMethod · 0.80

Tested by

no test coverage detected