MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / runShellCommand

Function runShellCommand

tools/builtin.go:1531–1533  ·  view source on GitHub ↗
(ctx context.Context, command, cwd string, timeout time.Duration)

Source from the content-addressed store, hash-verified

1529 if _, ok := bSet[tok]; ok {
1530 intersect++
1531 }
1532 }
1533 denom := max(len(aTokens), len(bSet))
1534 if denom == 0 {
1535 return 0
1536 }

Callers 1

ExecuteMethod · 0.85

Calls 1

runArgvCommandFunction · 0.85

Tested by

no test coverage detected