MCPcopy Create free account
hub / github.com/angular/dev-infra / _isCmdFile

Method _isCmdFile

github-actions/browserstack/set-browserstack-env.js:20163–20166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20161 return p.replace(/\\\\+/g, "\\");
20162 }
20163 return p.replace(/\/\/+/g, "/");
20164 }
20165 function isUnixExecutable(stats) {
20166 return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && process.getgid !== void 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && process.getuid !== void 0 && stats.uid === process.getuid();
20167 }
20168
20169 //

Callers 5

_getCommandStringMethod · 0.45
_getSpawnFileNameMethod · 0.45
_getSpawnArgsMethod · 0.45
_windowsQuoteCmdArgMethod · 0.45
_getSpawnOptionsMethod · 0.45

Calls 1

_endsWithMethod · 0.45

Tested by

no test coverage detected