1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 04:20:29 +00:00

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