FileSystem.h 508 B

12345678910111213141516171819202122232425
  1. // This code is in the public domain -- castano@gmail.com
  2. #pragma once
  3. #ifndef NV_CORE_FILESYSTEM_H
  4. #define NV_CORE_FILESYSTEM_H
  5. #include "nvcore.h"
  6. namespace nv
  7. {
  8. namespace FileSystem
  9. {
  10. NVCORE_API bool exists(const char * path);
  11. NVCORE_API bool createDirectory(const char * path);
  12. NVCORE_API bool changeDirectory(const char * path);
  13. NVCORE_API bool removeFile(const char * path);
  14. } // FileSystem namespace
  15. } // nv namespace
  16. #endif // NV_CORE_FILESYSTEM_H