MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / isExecutable

Function isExecutable

src/utils/axe-helpers.ts:22–29  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

20};
21
22function isExecutable(path: string): boolean {
23 try {
24 accessSync(path, constants.X_OK);
25 return true;
26 } catch {
27 return false;
28 }
29}
30
31function resolveAxePathFromConfig(): string | null {
32 const value = getConfig().axePath;

Callers 4

resolveAxePathFromConfigFunction · 0.70
resolveBundledAxePathFunction · 0.70
resolveAxePathFromPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected