MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getStepTemporaryDirectory

Function getStepTemporaryDirectory

source/MRIOExtras/MRStep.cpp:766–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764
765#if !STEP_READSTREAM_SUPPORTED
766std::filesystem::path getStepTemporaryDirectory()
767{
768 const auto path = std::filesystem::temp_directory_path() / "MeshLib_MeshLoadStep";
769 std::error_code ec;
770 if ( !std::filesystem::exists( path, ec ) )
771 std::filesystem::create_directory( path, ec );
772 return path;
773}
774
775std::mutex cOpenCascadeTempFileMutex = {};
776#endif

Callers 2

readFromStreamFunction · 0.85
repairStepFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected