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

Method FileByteSink

output/java_guava/1.4.19/Files.java:199–202  ·  view source on GitHub ↗
(File file, FileWriteMode... modes)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

copyOfMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected