2017-11-15 15:59:39 +00:00
|
|
|
#pragma once
|
2017-11-22 21:29:52 +00:00
|
|
|
#ifndef ES_CORE_UTILS_FILE_SYSTEM_UTIL_H
|
|
|
|
#define ES_CORE_UTILS_FILE_SYSTEM_UTIL_H
|
2017-11-15 15:59:39 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace Utils
|
|
|
|
{
|
|
|
|
namespace FileSystem
|
|
|
|
{
|
2017-11-22 21:29:52 +00:00
|
|
|
bool createDirectory(const std::string& _path);
|
|
|
|
void makeGeneric (const std::string& _path);
|
|
|
|
std::string escapePath (const std::string& _path);
|
|
|
|
std::string getParent (const std::string& _path);
|
|
|
|
std::string getFileName (const std::string& _path);
|
|
|
|
std::string getStem (const std::string& _path);
|
|
|
|
bool exists (const std::string& _path);
|
2017-11-15 15:59:39 +00:00
|
|
|
|
2017-11-22 21:29:52 +00:00
|
|
|
} // Utils::FileSystem::
|
2017-11-15 15:59:39 +00:00
|
|
|
|
|
|
|
} // Utils::
|
|
|
|
|
2017-11-22 21:29:52 +00:00
|
|
|
#endif // ES_CORE_UTILS_FILE_SYSTEM_UTIL_H
|