MCPcopy Create free account
hub / github.com/antlr/codebuff / size

Method size

corpus/java/training/guava/io/Files.java:133–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 @Override
134 public long size() throws IOException {
135 if (!file.isFile()) {
136 throw new FileNotFoundException(file.toString());
137 }
138 return file.length();
139 }
140
141 @Override
142 public byte[] read() throws IOException {

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.65
isFileMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected