ES-DE/es-core/src/utils/FileSystemUtil.h

24 lines
642 B
C
Raw Normal View History

#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
#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-22 21:29:52 +00:00
} // Utils::FileSystem::
} // Utils::
2017-11-22 21:29:52 +00:00
#endif // ES_CORE_UTILS_FILE_SYSTEM_UTIL_H