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

Method SetLongKey

lib/yamlcpp/src/emitterstate.cpp:63–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61void EmitterState::SetNonContent() { m_hasNonContent = true; }
62
63void EmitterState::SetLongKey() {
64 assert(!m_groups.empty());
65 if (m_groups.empty()) {
66 return;
67 }
68
69 assert(m_groups.back()->type == GroupType::Map);
70 m_groups.back()->longKey = true;
71}
72
73void EmitterState::ForceFlow() {
74 assert(!m_groups.empty());

Callers 2

FlowMapPrepareNodeMethod · 0.80
BlockMapPrepareNodeMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected