MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / endJsonSection

Method endJsonSection

tools/ktx/command_compare.cpp:532–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530 }
531
532 void endJsonSection() {
533 if (jsonSection.has_value()) {
534 const auto nl = outputFormat != OutputFormat::json_mini ? "\n" : "";
535 if (!jsonSectionEmpty) {
536 printIndent(0, "{}", nl);
537 printIndent(1, "}}");
538 }
539 jsonSection.reset();
540 }
541 }
542
543 void setContext(std::string&& ctx) {
544 context.clear();

Callers 1

executeCompareMethod · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected