MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / getIndentString

Method getIndentString

benchmark/data.js:388–390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

386 return new SourceMap(this.generateDecodedMap(options));
387 }
388 getIndentString() {
389 return this.indentStr === null ? ' ' : this.indentStr;
390 }
391 indent(indentStr, options) {
392 const pattern = /^[^\r\n]/gm;
393 if (isObject(indentStr)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected