MCPcopy Create free account
hub / github.com/Kitware/CMake / MakeTempDirectory

Method MakeTempDirectory

Source/cmSystemTools.cxx:1461–1468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1459#endif
1460
1461cmsys::Status cmSystemTools::MakeTempDirectory(std::string& path,
1462 mode_t const* mode)
1463{
1464 if (path.empty()) {
1465 return cmsys::Status::POSIX(EINVAL);
1466 }
1467 return cmSystemTools::MakeTempDirectory(&path.front(), mode);
1468}
1469
1470cmsys::Status cmSystemTools::MakeTempDirectory(char* path, mode_t const* mode)
1471{

Callers

nothing calls this directly

Calls 5

cmHasLiteralSuffixFunction · 0.85
MkdirFunction · 0.70
strlenFunction · 0.50
emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected