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

Method SetMapFormat

lib/yamlcpp/src/emitter.cpp:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64bool Emitter::SetMapFormat(EMITTER_MANIP value) {
65 bool ok = false;
66 if (m_pState->SetFlowType(GroupType::Map, value, FmtScope::Global))
67 ok = true;
68 if (m_pState->SetMapKeyFormat(value, FmtScope::Global))
69 ok = true;
70 return ok;
71}
72
73bool Emitter::SetIndent(std::size_t n) {
74 return m_pState->SetIndent(n, FmtScope::Global);

Callers 1

TEST_FFunction · 0.80

Calls 2

SetFlowTypeMethod · 0.80
SetMapKeyFormatMethod · 0.80

Tested by 1

TEST_FFunction · 0.64