MCPcopy
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 */
288export function isBashAvailable(): boolean {
289 try {
290 getBashPath();
291 return true;
292 } catch {
293 return false;
294 }
295}

Callers 1

loadServicesFunction · 0.90

Calls 1

getBashPathFunction · 0.85

Tested by

no test coverage detected