Dealing with Files
This project requires reading and writing of files. In order to do
these operations, you might find the classes java.io.File
and
java.nio.file.Files
helpful. Actually, you may find various things
in the java.io
and java.nio
packages helpful. Be sure to read the
gitlet.Utils
package for other things we've written for you.
If you do a little
digging through all of these, you might find a couple of methods that will
make the I/O portion of this project much easier! One warning: If
you find yourself using readers, writers, scanners, or streams,
you're making things more complicated than need be.