nstool/lib/libfnd/include/fnd/io.h

20 lines
401 B
C
Raw Normal View History

#pragma once
#include <string>
namespace fnd
{
namespace io
{
#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);
void appendToPath(std::string& base, const std::string& add);
}
}