Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ _ensureindentStr
Method
_ensureindentStr
src/MagicString.js:191–195 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
189
}
190
191
_ensureindentStr() {
192
if
(this.indentStr === undefined) {
193
this.indentStr = guessIndent(this.original);
194
}
195
}
196
197
_getRawIndentString() {
198
this._ensureindentStr();
Callers
3
_getRawIndentString
Method · 0.95
getIndentString
Method · 0.95
indent
Method · 0.95
Calls
1
guessIndent
Function · 0.50
Tested by
no test coverage detected