MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / code

Method code

packages/bundler-plugins/src/core/utils.ts:457–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

455 }
456
457 public code(): string {
458 if (this.isEmpty()) {
459 return '';
460 }
461
462 return this.header + this.body + this.footer;
463 }
464
465 public isEmpty(): boolean {
466 return this.body.length === 0;

Callers 8

index.test.tsFile · 0.80
utils.test.tsFile · 0.80
renderChunkFunction · 0.80
setupFunction · 0.80
applyFunction · 0.80
app.tsFile · 0.80
initFunction · 0.80

Calls 1

isEmptyMethod · 0.95

Tested by

no test coverage detected