MCPcopy Index your code
hub / github.com/dianping/cat / copy

Method copy

lib/java/src/main/java/com/dianping/cat/util/Files.java:143–145  ·  view source on GitHub ↗
(InputStream is, OutputStream os)

Source from the content-addressed store, hash-verified

141 INSTANCE;
142
143 public void copy(InputStream is, OutputStream os) throws IOException {
144 copy(is, os, AutoClose.NONE);
145 }
146
147 public void copy(InputStream is, OutputStream os, AutoClose stream) throws IOException {
148 byte[] content = new byte[4096];

Callers 1

readFromMethod · 0.95

Calls 3

closeMethod · 0.65
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected