mirror of
https://github.com/jakcron/nstool
synced 2024-11-15 02:06:40 +00:00
19 lines
401 B
C++
19 lines
401 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace fnd
|
|
{
|
|
namespace io
|
|
{
|
|
#ifdef _WIN32
|
|
const std::string kPathDivider = "\\";
|
|
#else
|
|
const std::string kPathDivider = "/";
|
|
#endif
|
|
|
|
size_t getFileSize(const std::string& path);
|
|
void makeDirectory(const std::string& path);
|
|
void getEnvironVar(std::string& var, const std::string& key);
|
|
void appendToPath(std::string& base, const std::string& add);
|
|
}
|
|
}
|