MCPcopy Create free account
hub / github.com/baidu/tera / FormatString

Method FormatString

src/utils/prop_tree.cc:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287std::string PropTree::FormatString() {
288 std::stringstream ss;
289 ss << "\n";
290 FormatNode(" ", root_, &ss);
291 return ss.str();
292}
293
294void PropTree::FormatNode(const std::string& line_prefix, Node* node, std::stringstream* ss) {
295 *ss << line_prefix << node->name_;

Callers 3

FillTableDescriptorFunction · 0.80
ParseTableSchemaFunction · 0.80
ParseTableSchemaFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected