1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Initial files

This commit is contained in:
Perttu Ahola 2010-11-27 01:02:21 +02:00
commit 4e249fb3fb
71 changed files with 22664 additions and 0 deletions

27
src/filesys.h Normal file
View file

@ -0,0 +1,27 @@
#ifndef FILESYS_HEADER
#define FILESYS_HEADER
#include <string>
#include <vector>
#include "exceptions.h"
namespace fs
{
struct DirListNode
{
std::string name;
bool dir;
};
std::vector<DirListNode> GetDirListing(std::string path);
// Returns true if already exists
bool CreateDir(std::string path);
bool PathExists(std::string path);
}//fs
#endif