MCPcopy
hub / github.com/angular/angular / lookup

Method lookup

packages/service-worker/worker/testing/mock.ts:52–54  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

50 constructor(private resources: Map<string, MockFile>) {}
51
52 lookup(path: string): MockFile | undefined {
53 return this.resources.get(path);
54 }
55
56 extend(): MockFileSystemBuilder {
57 const builder = new MockFileSystemBuilder();

Callers 3

withStaticFilesMethod · 0.45
tmpHashTableForFsFunction · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected