view 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
line wrap: on
line source

#ifndef __core__filesystem_h
#define __core__filesystem_h
#include <string>

namespace Filesystem {

bool CreateDirectories(std::string path);
bool Exists(std::string path);
std::string GetParentDirectory(std::string path);
std::string GetConfigPath();

}

#endif // __core__filesystem_h