summaryrefslogtreecommitdiff
path: root/thirdparty/thekla_atlas/nvcore/FileSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/thekla_atlas/nvcore/FileSystem.h')
-rw-r--r--thirdparty/thekla_atlas/nvcore/FileSystem.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/thirdparty/thekla_atlas/nvcore/FileSystem.h b/thirdparty/thekla_atlas/nvcore/FileSystem.h
new file mode 100644
index 0000000000..afd0f449d3
--- /dev/null
+++ b/thirdparty/thekla_atlas/nvcore/FileSystem.h
@@ -0,0 +1,24 @@
+// This code is in the public domain -- castano@gmail.com
+
+#pragma once
+#ifndef NV_CORE_FILESYSTEM_H
+#define NV_CORE_FILESYSTEM_H
+
+#include "nvcore.h"
+
+namespace nv
+{
+
+ namespace FileSystem
+ {
+ NVCORE_API bool exists(const char * path);
+ NVCORE_API bool createDirectory(const char * path);
+ NVCORE_API bool changeDirectory(const char * path);
+ NVCORE_API bool removeFile(const char * path);
+
+ } // FileSystem namespace
+
+} // nv namespace
+
+
+#endif // NV_CORE_FILESYSTEM_H