MCPcopy Create free account
hub / github.com/comaps/comaps / MkDir

Method MkDir

libs/platform/platform_qt.cpp:70–80  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

68
69// static
70Platform::EError Platform::MkDir(std::string const & dirName)
71{
72 if (QDir().exists(dirName.c_str()))
73 return Platform::ERR_FILE_ALREADY_EXISTS;
74 if (!QDir().mkdir(dirName.c_str()))
75 {
76 LOG(LWARNING, ("Can't create directory: ", dirName));
77 return Platform::ERR_UNKNOWN;
78 }
79 return Platform::ERR_OK;
80}
81
82void Platform::SetupMeasurementSystem() const
83{

Callers 2

MakeFakeBordersFileFunction · 0.45
WritableDirChangerMethod · 0.45

Calls

no outgoing calls

Tested by 1

MakeFakeBordersFileFunction · 0.36