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

Method getFileType

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

Source from the content-addressed store, hash-verified

91 }
92
93 public static FileType getFileType(Path path) throws IOException {
94 return ToolFileType.getType(path.toFile());
95 }
96
97 public static long getFileLines(Path path) throws IOException {
98 return Files.size(path);

Callers

nothing calls this directly

Calls 1

getTypeMethod · 0.95

Tested by

no test coverage detected