projects
/
oweals
/
minetest.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial files
[oweals/minetest.git]
/
src
/
filesys.h
1
#ifndef FILESYS_HEADER
2
#define FILESYS_HEADER
3
4
#include <string>
5
#include <vector>
6
#include "exceptions.h"
7
8
namespace fs
9
{
10
11
struct DirListNode
12
{
13
std::string name;
14
bool dir;
15
};
16
17
std::vector<DirListNode> GetDirListing(std::string path);
18
19
// Returns true if already exists
20
bool CreateDir(std::string path);
21
22
bool PathExists(std::string path);
23
24
}//fs
25
26
#endif
27