MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / PrintTo

Method PrintTo

tests/gtest/gtest-all.cc:2646–2654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2644 }
2645
2646 void PrintTo(std::ostream* os) {
2647 PrintHeader(os);
2648 FlushEdits();
2649 for (std::list<std::pair<char, const char*> >::const_iterator it =
2650 hunk_.begin();
2651 it != hunk_.end(); ++it) {
2652 *os << it->first << it->second << "\n";
2653 }
2654 }
2655
2656 bool has_edits() const { return adds_ || removes_; }
2657

Callers 1

CreateUnifiedDiffFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected