MCPcopy Index your code
hub / github.com/angular/angular-cli / isFile

Function isFile

packages/angular/cli/src/utilities/config.ts:38–46  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

36 }
37 },
38 async isFile(path) {
39 try {
40 const stats = await fs.stat(path);
41
42 return stats.isFile();
43 } catch {
44 return false;
45 }
46 },
47 };
48}
49

Callers

nothing calls this directly

Calls 2

statMethod · 0.65
isFileMethod · 0.65

Tested by

no test coverage detected