MCPcopy
hub / github.com/google/guava / FileByteSink

Method FileByteSink

guava/src/com/google/common/io/Files.java:187–190  ·  view source on GitHub ↗
(File file, FileWriteMode... modes)

Source from the content-addressed store, hash-verified

185 private final ImmutableSet<FileWriteMode> modes;
186
187 private FileByteSink(File file, FileWriteMode... modes) {
188 this.file = checkNotNull(file);
189 this.modes = ImmutableSet.copyOf(modes);
190 }
191
192 @Override
193 public FileOutputStream openStream() throws IOException {

Callers

nothing calls this directly

Calls 2

copyOfMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected