MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getFullDescription

Method getFullDescription

valdi/src/valdi/standalone_runtime/ArgumentsParser.cpp:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120StringBox Argument::getFullDescription() const {
121 if (_description.empty()) {
122 return _name;
123 }
124
125 return STRING_FORMAT("{} {}", _name, _description);
126}
127
128ArgumentsParser::ArgumentsParser() = default;
129ArgumentsParser::~ArgumentsParser() = default;

Callers 2

printErrorAndUsageFunction · 0.80
parseMethod · 0.80

Calls 10

maxFunction · 0.85
getGlobalFunction · 0.85
makeStringMethod · 0.80
appendMethod · 0.65
emptyMethod · 0.45
lengthMethod · 0.45
getNameMethod · 0.45
getDescriptionMethod · 0.45
sizeMethod · 0.45
toStringViewMethod · 0.45

Tested by

no test coverage detected