MCPcopy Create free account
hub / github.com/Illumina/paragraph / unindent

Method unindent

external/jsoncpp/jsoncpp.cpp:4723–4726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4721void StyledWriter::indent() { indentString_ += JSONCPP_STRING(indentSize_, ' '); }
4722
4723void StyledWriter::unindent() {
4724 assert(indentString_.size() >= indentSize_);
4725 indentString_.resize(indentString_.size() - indentSize_);
4726}
4727
4728void StyledWriter::writeCommentBeforeValue(const Value& root) {
4729 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected