MCPcopy Create free account
hub / github.com/astercloud/aster / IsAvailable

Method IsAvailable

pkg/tools/bridge/runtime.go:492–495  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

490}
491
492func (r *BashRuntime) IsAvailable() bool {
493 _, err := exec.LookPath(r.bashPath)
494 return err == nil
495}
496
497func (r *BashRuntime) Execute(ctx context.Context, code string, input map[string]any) (*ExecutionResult, error) {
498 start := time.Now()

Callers 1

TestBashRuntime_ExecuteFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestBashRuntime_ExecuteFunction · 0.76