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

Method GetDefaultDestination

Source/cmSbomArguments.cxx:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90std::string cmSbomArguments::GetDefaultDestination(
91 std::string const& root) const
92{
93 if (root.empty()) {
94 return cmStrCat("sbom/"_s, this->GetPackageDirName());
95 }
96 return cmStrCat(root, '/', "sbom/"_s, this->GetPackageDirName());
97}
98
99cmSbomArguments::SbomFormat cmSbomArguments::GetFormat() const
100{

Callers 4

HandleMappedPackageInfoFunction · 0.45
HandlePackageInfoModeFunction · 0.45
HandleSbomModeFunction · 0.45
HandleSpecialExportModeFunction · 0.45

Calls 3

GetPackageDirNameMethod · 0.95
cmStrCatFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected