blob: 10f4c2fc7ad47b155b6ce7a4db7600857fc33fd3 [file] [log] [blame] [raw]
package li.cil.oc.server.fs
import java.io
import java.io.FileOutputStream
import li.cil.oc.api.fs.Mode
trait FileOutputStreamFileSystem extends FileInputStreamFileSystem {
protected def openOutputStream(path: String, mode: Mode.Value) =
Some(new FileOutputStream(new io.File(root, path), mode == Mode.Append))
}