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

Method _isCmdFile

github-actions/bazel/configure-remote/configure-remote.js:20166–20169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20164 return p.replace(/\\\\+/g, "\\");
20165 }
20166 return p.replace(/\/\/+/g, "/");
20167 }
20168 function isUnixExecutable(stats) {
20169 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();
20170 }
20171
20172 //

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