MCPcopy
hub / github.com/IvanMathy/Boop / writeFoldedLines

Function writeFoldedLines

Boop/Boop/scripts/lib/js-yaml.js:1428–1434  ·  view source on GitHub ↗
(state, count)

Source from the content-addressed store, hash-verified

1426}
1427
1428function writeFoldedLines(state, count) {
1429 if (count === 1) {
1430 state.result += ' ';
1431 } else if (count > 1) {
1432 state.result += common.repeat('\n', count - 1);
1433 }
1434}
1435
1436
1437function readPlainScalar(state, nodeIndent, withinFlowCollection) {

Callers 3

readPlainScalarFunction · 0.85
readSingleQuotedScalarFunction · 0.85
readDoubleQuotedScalarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected