1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 00:45:33 +00:00
openmw/components/misc/fileops.cpp

8 lines
188 B
C++

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