MCPcopy Create free account
hub / github.com/SeanDragon/protools / visitDir

Method visitDir

common/src/main/java/pro/tools/path/ToolPath.java:190–192  ·  view source on GitHub ↗
(Path dir, FileVisitor<Path> fileVisitor)

Source from the content-addressed store, hash-verified

188 //region 文件数据
189
190 public static void visitDir(Path dir, FileVisitor<Path> fileVisitor) throws IOException {
191 Files.walkFileTree(dir, OPTS, Integer.MAX_VALUE, fileVisitor);
192 }
193
194 public static Stream<String> readStream(Path path) throws IOException {
195 return Files.lines(path);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected