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

Method newFileId

packages/compiler-cli/preprocessor/src/perf.ts:192–192  ·  view source on GitHub ↗

Allocates an id for a file and begins its `ngp.File` async slice.

(path: string)

Source from the content-addressed store, hash-verified

190 record(kind: SpanKind, startUs: number): void;
191 /** Allocates an id for a file and begins its `ngp.File` async slice. */
192 newFileId(path: string): number;
193 asyncBegin(kind: SpanKind, fileId: number): void;
194 /** `asyncEnd(SpanKind.File, fileId)` ends the `ngp.File` slice. */
195 asyncEnd(kind: SpanKind, fileId: number): void;

Callers 3

processFileFunction · 0.65
perf_spec.tsFile · 0.65
processFileFunction · 0.65

Implementers 1

RecordingTracerpackages/compiler-cli/preprocessor/src

Calls

no outgoing calls

Tested by

no test coverage detected