MCPcopy Index your code
hub / github.com/antlr/codebuff / copy

Method copy

output/java_guava/1.4.17/Files.java:297–299  ·  view source on GitHub ↗

Copies all bytes from a file to an output stream. @param from the source file @param to the output stream @throws IOException if an I/O error occurs

(File from, OutputStream to)

Source from the content-addressed store, hash-verified

295
296
297 public static void copy(File from, OutputStream to) throws IOException {
298 asByteSource(from).copyTo(to);
299 }
300
301 /**
302 * Copies all the bytes from one file to another.

Callers 1

moveMethod · 0.95

Calls 6

asByteSourceMethod · 0.95
asByteSinkMethod · 0.95
asCharSourceMethod · 0.95
equalsMethod · 0.65
copyToMethod · 0.45
checkArgumentMethod · 0.45

Tested by

no test coverage detected