Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ isBashAvailable
Function
isBashAvailable
src/node/utils/main/bashPath.ts:288–295 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
286
* @returns true
if
bash is available, false otherwise
287
*/
288
export
function
isBashAvailable(): boolean {
289
try {
290
getBashPath();
291
return
true;
292
} catch {
293
return
false;
294
}
295
}
Callers
1
loadServices
Function · 0.90
Calls
1
getBashPath
Function · 0.85
Tested by
no test coverage detected