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

Method AddString

Source/cmSpdxSerializer.cxx:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void cmSpdxSerializer::AddString(std::string const& key,
43 std::string const& value)
44{
45 if (!value.empty()) {
46 CurrentValue[key] = value;
47 }
48}
49
50void cmSpdxSerializer::AddVisitable(std::string const& key,
51 cmSbomObject const& visitable)

Callers 2

SerializeIfPresentFunction · 0.80
SerializeMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected