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

Method setAsFlag

valdi/src/valdi/standalone_runtime/ArgumentsParser.cpp:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54Ref<Argument> Argument::setAsFlag() {
55 _isFlag = true;
56 return strongSmallRef(this);
57}
58
59Ref<Argument> Argument::setAsRemainder() {
60 _isRemainder = true;

Callers 3

imageConvertFunction · 0.80
rewriteHeaderFunction · 0.80
mainFunction · 0.80

Calls 1

strongSmallRefFunction · 0.85

Tested by

no test coverage detected