Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blobcache/blobcache
/ BuildGoExec
Function
BuildGoExec
src/internal/testutil/testutil.go:45–48 ·
view source on GitHub ↗
(t testing.TB, dst string, mainPkg string)
Source
from the content-addressed store, hash-verified
43
}
44
45
func
BuildGoExec(t testing.TB, dst string, mainPkg string) {
46
cmd := exec.Command(
"go"
,
"build"
,
"-o"
, dst, mainPkg)
47
require.NoError(t, cmd.Run())
48
}
Callers
2
TestAPI
Function · 0.92
setup
Function · 0.92
Calls
1
Run
Method · 0.80
Tested by
2
TestAPI
Function · 0.74
setup
Function · 0.74