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

Method directoryExists

packages/compiler-cli/test/mocks.ts:31–33  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

29 }
30
31 directoryExists(path: string): boolean {
32 return path === this.currentDirectory || typeof this.getEntry(path) === 'object';
33 }
34
35 readFile(fileName: string): string {
36 const data = this.getEntry(fileName);

Callers 2

directoryExistsMethod · 0.45
directoryExistsFunction · 0.45

Calls 1

getEntryMethod · 0.95

Tested by

no test coverage detected