annotate include/core/filesystem.h @ 11:fc1bf97c528b
*: use C++11 standard
I've been meaning to do this for a while, but I didn't want to reimplement
the filesystem code. Now we are on C++11 and most compilers from the past 5 centuries should support this now
author |
Paper <mrpapersonic@gmail.com> |
date |
Sun, 17 Sep 2023 06:14:30 -0400 |
parents |
5c0397762b53 |
children |
2743011a6042 |
rev |
line source |
9
|
1 #ifndef __core__filesystem_h
|
|
2 #define __core__filesystem_h
|
11
|
3 #include <string>
|
|
4
|
|
5 namespace Filesystem {
|
|
6
|
|
7 bool CreateDirectories(std::string path);
|
|
8 bool Exists(std::string path);
|
|
9 std::string GetParentDirectory(std::string path);
|
|
10 std::string GetConfigPath();
|
|
11
|
|
12 }
|
|
13
|
|
14 #endif // __core__filesystem_h
|