MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / isExecutable

Function isExecutable

scripts/integration/fixture.mjs:317–324  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

315}
316
317function isExecutable(filePath) {
318 try {
319 fs.accessSync(filePath, fs.constants.X_OK);
320 return true;
321 } catch {
322 return false;
323 }
324}
325
326function commandOutput(command, args) {
327 return run(command, args).stdout.trim();

Callers 1

isUsableAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected