MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / GetProjectSrcDir

Function GetProjectSrcDir

utils/exec.go:40–43  ·  view source on GitHub ↗

GetProjectSrcDir gets the src code root.

()

Source from the content-addressed store, hash-verified

38
39// GetProjectSrcDir gets the src code root.
40func GetProjectSrcDir() string {
41 _, testFile, _, _ := runtime.Caller(0)
42 return FJ(filepath.Dir(testFile), "../")
43}
44
45// RunCommand runs a command and capture its output to a log file,
46// if toStd is true also output to stdout and stderr.

Callers 11

mirror_test.goFile · 0.92
bench_test.goFile · 0.92
block_test.goFile · 0.92
TestGenTestNetDomainFunction · 0.92
xxx_test.goFile · 0.92
pool_test.goFile · 0.92
conn_test.goFile · 0.92
exec_test.goFile · 0.85

Calls

no outgoing calls

Tested by 1

TestGenTestNetDomainFunction · 0.74