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

Method getIndentString

src/MagicString.ts:302–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

300 }
301
302 getIndentString(): string {
303 this._ensureindentStr()
304 return this.indentStr === null ? '\t' : this.indentStr
305 }
306
307 /**
308 * Prefixes each line of the string with prefix.

Callers

nothing calls this directly

Calls 1

_ensureindentStrMethod · 0.95

Tested by

no test coverage detected