MCPcopy Create free account
hub / github.com/angular/angular / enabled

Method enabled

packages/compiler-cli/preprocessor/ng-analyze/src/perf/layer.rs:523–525  ·  view source on GitHub ↗
(&self, meta: &Metadata<'_>, _ctx: Context<'_, S>)

Source from the content-addressed store, hash-verified

521 }
522
523 fn enabled(&self, meta: &Metadata<'_>, _ctx: Context<'_, S>) -> bool {
524 self.recording() && Kind::of(meta).is_some()
525 }
526
527 fn on_new_span(&self, attrs: &Attributes<'_>, id: &Id, ctx: Context<'_, S>) {
528 let Some(span) = ctx.span(id) else { return };

Callers

nothing calls this directly

Calls 1

recordingMethod · 0.80

Tested by

no test coverage detected