MCPcopy Create free account
hub / github.com/Illumina/hap.py / unindent

Method unindent

external/jsoncpp/jsoncpp.cpp:3456–3459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3454void StyledWriter::indent() { indentString_ += std::string(indentSize_, ' '); }
3455
3456void StyledWriter::unindent() {
3457 assert(int(indentString_.size()) >= indentSize_);
3458 indentString_.resize(indentString_.size() - indentSize_);
3459}
3460
3461void StyledWriter::writeCommentBeforeValue(const Value &root) {
3462 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
resizeMethod · 0.45

Tested by

no test coverage detected