MCPcopy Create free account
hub / github.com/apache/trafficserver / ltrim

Function ltrim

include/tscore/Extendible.h:727–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725namespace details
726{
727 inline std::string
728 ltrim(std::string const &str, const std::string &chars = "\t\n\v\f\r ")
729 {
730 std::string r(str);
731 r.erase(0, str.find_first_not_of(chars));
732 return r;
733 }
734} // namespace details
735
736template <typename T>

Callers 1

serializeFunction · 0.70

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected