nstool/lib/libfnd/include/fnd/io.h
2018-06-24 17:17:21 +08:00

20 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);
}
}