MCPcopy Create free account
hub / github.com/ValveSoftware/Proton / unindent

Method unindent

vrclient_x64/jsoncpp.cpp:4602–4605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4600void StyledWriter::indent() { indentString_ += std::string(indentSize_, ' '); }
4601
4602void StyledWriter::unindent() {
4603 assert(int(indentString_.size()) >= indentSize_);
4604 indentString_.resize(indentString_.size() - indentSize_);
4605}
4606
4607void StyledWriter::writeCommentBeforeValue(const Value& root) {
4608 if (!root.hasComment(commentBefore))

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
resizeMethod · 0.80

Tested by

no test coverage detected