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

Function pathExists

packages/compiler-cli/preprocessor/test/utils.ts:33–38  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

31} from './golden_markdown.js';
32
33export function pathExists(p: string): Promise<boolean> {
34 return fs.access(p).then(
35 () => true,
36 () => false,
37 );
38}
39
40export function resolveWasmBinding(): string {
41 if (process.env['NGP_WASM_BINDING']) {

Callers 6

compliance_spec.tsFile · 0.70
writeFixtureFunction · 0.70
golden_spec.tsFile · 0.70
diagnoseFunction · 0.70
ngp_spec.tsFile · 0.70

Calls 2

accessMethod · 0.80
thenMethod · 0.65

Tested by

no test coverage detected