MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / write

Method write

edrav2/eprj/jsoncpp/src/lib_json/json_writer.cpp:364–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362void FastWriter::omitEndingLineFeed() { omitEndingLineFeed_ = true; }
363
364JSONCPP_STRING FastWriter::write(const Value& root) {
365 document_.clear();
366 writeValue(root);
367 if (!omitEndingLineFeed_)
368 document_ += '\n';
369 return document_;
370}
371
372void FastWriter::writeValue(const Value& value) {
373 switch (value.type()) {

Callers 15

write_toMethod · 0.45
mainFunction · 0.45
set_versionFunction · 0.45
downloadFunction · 0.45
write_tempfileFunction · 0.45
mainFunction · 0.45
do_subst_in_fileFunction · 0.45
valueTreeToStringFunction · 0.45
rewriteValueTreeFunction · 0.45
runAllTestsFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by 3

valueTreeToStringFunction · 0.36
rewriteValueTreeFunction · 0.36
runAllTestsFunction · 0.36