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

Method FileByteSink

corpus/java/training/guava/io/Files.java:195–198  ·  view source on GitHub ↗
(File file, FileWriteMode... modes)

Source from the content-addressed store, hash-verified

193 private final ImmutableSet<FileWriteMode> modes;
194
195 private FileByteSink(File file, FileWriteMode... modes) {
196 this.file = checkNotNull(file);
197 this.modes = ImmutableSet.copyOf(modes);
198 }
199
200 @Override
201 public FileOutputStream openStream() throws IOException {

Callers

nothing calls this directly

Calls 2

copyOfMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected