This commit is contained in:
jeanlemotan
2024-07-02 18:12:23 +02:00
commit b344afa9fe
89 changed files with 10568 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#pragma once
namespace fs
{
enum class Mode
{
CreateOrOpen, //Create if doesn't exist, or open otherwise, but DON'T clear the file
CreateOrOpenAndClear, //Create if doesn't exist, or open otherwise, and clear the file
CreateIfNew, //Create the file ONLY if it doesn't exist already. Otherwise FAIL
Open, //Open if exists, fail otherwise, but DON'T clear the file
OpenAndClear //Open the file if exists, fail otherwise, and clear the file
};
}