Method
visitFile
(Path file, BasicFileAttributes attrs)
Source from the content-addressed store, hash-verified
| 79 | |
| 80 | Files.walkFileTree(fs.getPath("/"), new SimpleFileVisitor<Path>() { |
| 81 | @Override |
| 82 | public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { |
| 83 | if (file.toString().endsWith(".class")) { |
| 84 | handler.accept(file); |
| 85 | } |
| 86 | |
| 87 | return FileVisitResult.CONTINUE; |
| 88 | } |
| 89 | }); |
| 90 | } catch (IOException e) { |
| 91 | closeSilently(fs); |
Callers
nothing calls this directly
Tested by
no test coverage detected