MCPcopy Index your code
hub / github.com/angular/angular / fileExists

Method fileExists

packages/compiler-cli/test/mocks.ts:27–29  ·  view source on GitHub ↗
(fileName: string)

Source from the content-addressed store, hash-verified

25 }
26
27 fileExists(fileName: string): boolean {
28 return typeof this.getEntry(fileName) === 'string';
29 }
30
31 directoryExists(path: string): boolean {
32 return path === this.currentDirectory || typeof this.getEntry(path) === 'object';

Callers 3

_getLanguageServiceMethod · 0.45
fileExistsMethod · 0.45
fileExistsFunction · 0.45

Calls 1

getEntryMethod · 0.95

Tested by

no test coverage detected