MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / CreateCurrentRoot

Method CreateCurrentRoot

Exporter/Html/HtmlFolderStructure.cpp:83–92  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

81
82 //-------------------------------------------------------------------------
83 std::filesystem::path HtmlFolderStructure::CreateCurrentRoot(const std::filesystem::path& outputFolder)
84 {
85 auto root{ fs::absolute(outputFolder) };
86 optionalCurrentRoot_ = std::make_unique<Hierarchy>(root);
87 CopyRecursiveDirectoryContent(
88 templateFolder_ / HtmlFolderStructure::ThirdParty,
89 root / HtmlFolderStructure::ThirdParty);
90
91 return root;
92 }
93
94 //-------------------------------------------------------------------------
95 HtmlFile HtmlFolderStructure::CreateCurrentModule(const std::filesystem::path& modulePath)

Callers 2

TEST_FFunction · 0.80
ExportMethod · 0.80

Calls 1

Tested by 1

TEST_FFunction · 0.64