OpenMode

Edit

Different ways to open a File with lovr.filesystem.newFile.

ValueDescription
r Open the file for reading.
w Open the file for writing (overwrites existing data).
a Open the file for appending.

See also