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

Method setRequired

valdi/src/valdi/standalone_runtime/ArgumentsParser.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29Ref<Argument> Argument::setRequired() {
30 _required = true;
31 return strongSmallRef(this);
32}
33
34bool Argument::isRequired() const {
35 return _required;

Callers 6

precompileFunction · 0.80
imageInfoFunction · 0.80
imageConvertFunction · 0.80
pngquantFunction · 0.80
rewriteHeaderFunction · 0.80
mainFunction · 0.80

Calls 1

strongSmallRefFunction · 0.85

Tested by

no test coverage detected