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

Function pathExists

ngp-vscode-ng-language-service/client/src/extension.ts:265–269  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

263}
264
265const pathExists = (p: string): Promise<boolean> =>
266 fs.access(p).then(
267 () => true,
268 () => false,
269 );
270
271async function resolveTsGoPath(): Promise<string | null> {
272 if (process.env.TSGO_BINARY_PATH) {

Callers 2

activateFunction · 0.70
resolveTsGoPathFunction · 0.70

Calls 2

accessMethod · 0.80
thenMethod · 0.65

Tested by

no test coverage detected