MCPcopy Create free account
hub / github.com/Snapchat/Valdi / canPrettyPrint

Method canPrettyPrint

valdi/vscode_debugger/src/adapter/sources.ts:199–201  ·  view source on GitHub ↗

* Gets whether this source is able to be pretty-printed.

()

Source from the content-addressed store, hash-verified

197 * Gets whether this source is able to be pretty-printed.
198 */
199 public canPrettyPrint(): boolean {
200 return this._container && !this._name.endsWith('-pretty.js');
201 }
202
203 /**
204 * Pretty-prints the source. Generates a beauitified source map if possible

Callers 2

prettyPrintMethod · 0.95
_canPrettyPrintSourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected