MCPcopy Create free account
hub / github.com/catboost/catboost / HasAnyShortOption

Method HasAnyShortOption

library/cpp/getopt/small/last_getopt_opts.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169 }
170
171 bool TOpts::HasAnyShortOption() const {
172 for (const auto& Opt : Opts_) {
173 const TOpt* opt = Opt.Get();
174 if (!opt->GetShortNames().empty())
175 return true;
176 }
177 return false;
178 }
179
180 bool TOpts::HasAnyLongOption() const {
181 for (const auto& Opt : Opts_) {

Callers 1

ParseOptArgMethod · 0.80

Calls 2

GetMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected