MCPcopy
hub / github.com/di-sukharev/opencommit / checkStat

Function checkStat

out/cli.cjs:1024–1029  ·  view source on GitHub ↗
(stat, path5, options)

Source from the content-addressed store, hash-verified

1022 return false;
1023 }
1024 function checkStat(stat, path5, options) {
1025 if (!stat.isSymbolicLink() && !stat.isFile()) {
1026 return false;
1027 }
1028 return checkPathExt(path5, options);
1029 }
1030 function isexe(path5, options, cb) {
1031 fs7.stat(path5, function(er2, stat) {
1032 cb(er2, er2 ? false : checkStat(stat, path5, options));

Callers 2

isexeFunction · 0.85
syncFunction · 0.85

Calls 2

checkPathExtFunction · 0.85
checkModeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…