MCPcopy Create free account
hub / github.com/apache/brpc / CollapseWhitespaceASCII

Function CollapseWhitespaceASCII

src/butil/strings/string_util.cc:329–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329std::string CollapseWhitespaceASCII(const std::string& text,
330 bool trim_sequences_with_line_breaks) {
331 return CollapseWhitespaceT(text, trim_sequences_with_line_breaks);
332}
333
334bool ContainsOnlyChars(const StringPiece& input,
335 const StringPiece& characters) {

Callers 2

TESTFunction · 0.85

Calls 1

CollapseWhitespaceTFunction · 0.85

Tested by 1

TESTFunction · 0.68