1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-12 22:11:35 +00:00
openmw/libs/platform/fileops.cpp

11 lines
249 B
C++

#include "fileops.hpp"
#include <boost/filesystem.hpp>
namespace OMW { namespace Platform {
bool isFile(const char *name)
{
boost::filesystem::path cfg_file_path(name);
return boost::filesystem::exists(cfg_file_path);
}
}}