MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / formatToken

Function formatToken

Engine/lib/collada/src/dae/daeElement.cpp:477–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475 }
476
477 string formatToken(const string& token) {
478 if (token.length() <= 50)
479 return token;
480 return token.substr(0, 47) + "...";
481 }
482} // namespace {
483
484daeElement::compareResult::compareResult()

Callers 1

formatMethod · 0.85

Calls 2

substrMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected