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

Method SpaceOrIndentTo

lib/yamlcpp/src/emitter.cpp:674–680  ·  view source on GitHub ↗

SpaceOrIndentTo . Prepares for some more content by proper spacing

Source from the content-addressed store, hash-verified

672// SpaceOrIndentTo
673// . Prepares for some more content by proper spacing
674void Emitter::SpaceOrIndentTo(bool requireSpace, std::size_t indent) {
675 if (m_stream.comment())
676 m_stream << "\n";
677 if (m_stream.col() > 0 && requireSpace)
678 m_stream << " ";
679 m_stream << IndentTo(indent);
680}
681
682void Emitter::PrepareIntegralStream(std::stringstream& stream) const {
683

Callers

nothing calls this directly

Calls 1

IndentToClass · 0.85

Tested by

no test coverage detected