MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / isExecutable

Function isExecutable

Extension/src/common.ts:860–862  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

858}
859
860export function isExecutable(file: string): Promise<boolean> {
861 return pathAccessible(file, fs.constants.X_OK);
862}
863
864export async function allowExecution(file: string): Promise<void> {
865 if (process.platform !== 'win32') {

Callers 2

spawnChildProcessImplFunction · 0.85
allowExecutionFunction · 0.85

Calls 1

pathAccessibleFunction · 0.85

Tested by

no test coverage detected