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

Method ChopSuffix

util/generic/strbuf.h:365–367  ·  view source on GitHub ↗

returns true if string ended with `suffix`, false otherwise

Source from the content-addressed store, hash-verified

363
364 // returns true if string ended with `suffix`, false otherwise
365 inline bool ChopSuffix(const TdSelf& suffix) noexcept {
366 return BeforeSuffix(suffix, *this);
367 }
368
369public:
370 // returns tail, including pos

Callers 1

Y_UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected