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

Method printHeaderString

lib/catch2/catch.hpp:16672–16679  ·  view source on GitHub ↗

if string has a : in first line will set indent to follow it on subsequent lines

Source from the content-addressed store, hash-verified

16670// if string has a : in first line will set indent to follow it on
16671// subsequent lines
16672void ConsoleReporter::printHeaderString(std::string const& _string, std::size_t indent) {
16673 std::size_t i = _string.find(": ");
16674 if (i != std::string::npos)
16675 i += 2;
16676 else
16677 i = 0;
16678 stream << Column(_string).indent(indent + i).initialIndent(indent) << '\n';
16679}
16680
16681struct SummaryColumn {
16682

Callers

nothing calls this directly

Calls 4

initialIndentMethod · 0.80
ColumnClass · 0.70
findMethod · 0.45
indentMethod · 0.45

Tested by

no test coverage detected