MCPcopy Create free account
hub / github.com/Berkeley-CS61B/skeleton-sp21 / writeContents

Method writeContents

proj2/gitlet/Utils.java:118–137  ·  view source on GitHub ↗

Write the result of concatenating the bytes in CONTENTS to FILE, creating or overwriting it as needed. Each object in CONTENTS may be either a String or a byte array. Throws IllegalArgumentException in case of problems.

(File file, Object... contents)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

writeObjectMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected