MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / canAccessPath

Function canAccessPath

test/playwright/support/astro-browser-test.ts:18–25  ·  view source on GitHub ↗
( filePath: string )

Source from the content-addressed store, hash-verified

16}
17
18function canAccessPath ( filePath: string ) {
19 try {
20 accessSync( filePath, constants.X_OK )
21 return true
22 } catch {
23 return false
24 }
25}
26
27export function getBrowserExecutablePath () {
28 const candidatePaths = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected