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

Method newFileId

packages/compiler-cli/preprocessor/src/perf.ts:398–402  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

396 }
397
398 newFileId(path: string): number {
399 const fileId = this.nextFileId++;
400 this.asyncEvent('b', SpanKind.File, fileId, {path});
401 return fileId;
402 }
403
404 asyncBegin(kind: SpanKind, fileId: number): void {
405 this.asyncEvent('b', kind, fileId);

Callers

nothing calls this directly

Calls 1

asyncEventMethod · 0.95

Tested by

no test coverage detected