MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / createDirectory

Method createDirectory

src/Base/FileInfo.cpp:500–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498}
499
500bool FileInfo::createDirectory() const
501{
502 try {
503 fs::path path(stringToPath(FileName));
504 return fs::create_directory(path);
505 }
506 catch (const fs::filesystem_error&) {
507 return false;
508 }
509}
510
511bool FileInfo::createDirectories() const
512{

Callers 6

makeDirectoriesMethod · 0.80
writeFilesMethod · 0.80
getDocumentMethod · 0.80
SetUpMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected