alternative way to check if file is executable
オープン
- 主要言語
- JavaScript
- スター
- 28
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
just fyi this might be another way (better? dunno)
https://stackoverflow.com/a/41929624/1223975
```js
const fs = require('fs');
fs.access('./foobar.sh', fs.constants.X_OK, (err) => {
console.log(err ? 'cannot execute' : 'can execute');
});
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Review the linked Stack Overflow example and compare its fs.access(..., fs.constants.X_OK, ...) behavior with the repository's current executable check. Decide whether the alternative should replace the existing approach, then add or update coverage for the chosen behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- tooling
- issue の種類
- リファクタリング
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100