MCPcopy Create free account
hub / github.com/MITK/MITK / CreateParentDirectories

Function CreateParentDirectories

Modules/Segmentation/cmdapps/ContoursToImage.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void CreateParentDirectories(const fs::path& path)
71{
72 if (path.has_parent_path())
73 {
74 auto parentPath = path.parent_path();
75
76 if (!fs::exists(parentPath))
77 fs::create_directories(parentPath);
78 }
79}
80
81bool SetLabelName(const mitk::IPropertyProvider* propertyProvider, mitk::Label* label)
82{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected