Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
read
Opens the file for read operations. The cursor is positioned at the beginning of the file.
FileAccess.swift:26case read
Other cases
case write
Opens the file for write operations. The file is created if it does not exist, and truncated if it does.
case readWrite
Opens the file for read and write operations. Does not truncate the file. The cursor is positioned at the beginning of the file.
case writeRead
Opens the file for read and write operations. The file is created if it does not exist, and truncated if it does. The cursor is positioned at the beginning of the file.