MCPcopy Create free account
hub / github.com/FabricMC/Matcher / visitFile

Method visitFile

src/main/java/matcher/Util.java:81–88  ·  view source on GitHub ↗
(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

Calls 3

acceptMethod · 0.80
setMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected