MCPcopy Create free account
hub / github.com/RimoChan/match-you / visitFile

Method visitFile

mother.java:34–38  ·  view source on GitHub ↗
(Path file, BasicFileAttributes attrs)

Source from the content-addressed store, hash-verified

32 try {
33 Files.walkFileTree(Paths.get(goal), new SimpleFileVisitor<>() {
34 @Override
35 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
36 Files.delete(file);
37 return FileVisitResult.CONTINUE;
38 }
39
40 @Override
41 public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected