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

Method readStream

common/src/main/java/pro/tools/path/ToolPath.java:194–196  ·  view source on GitHub ↗
(Path path)

Source from the content-addressed store, hash-verified

192 }
193
194 public static Stream<String> readStream(Path path) throws IOException {
195 return Files.lines(path);
196 }
197
198 public static List<String> readStrings(Path path) throws IOException {
199 return Files.readAllLines(path);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected