FSOpenMode

FSOpenMode :: enum {
    Read :: 0;
    Write;
    Append;
    Create;
}

Specify operation with opened file.

Variants

Read - Open file for reading.

Write - Open file for writing and truncate its content.

Append - Open file for appending (keeps current content).

Create - Create file if it does not exist.

Declared in: fs.bl