2017-07-06 03:27:25 +00:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace fnd
|
|
|
|
{
|
|
|
|
namespace io
|
|
|
|
{
|
2018-04-25 12:27:18 +00:00
|
|
|
#ifdef _WIN32
|
|
|
|
const std::string kPathDivider = "\\";
|
|
|
|
#else
|
|
|
|
const std::string kPathDivider = "/";
|
|
|
|
#endif
|
|
|
|
|
2018-04-15 02:36:43 +00:00
|
|
|
size_t getFileSize(const std::string& path);
|
2018-04-15 06:00:46 +00:00
|
|
|
void makeDirectory(const std::string& path);
|
2018-04-25 04:59:42 +00:00
|
|
|
void getEnvironVar(std::string& var, const std::string& key);
|
2018-04-25 12:27:18 +00:00
|
|
|
void appendToPath(std::string& base, const std::string& add);
|
2017-07-06 03:27:25 +00:00
|
|
|
}
|
|
|
|
}
|