Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MG-RAST/Shock
/ stopTrace
Function
stopTrace
shock-server/trace.go:57–66 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
55
}
56
57
func
stopTrace() (err error) {
58
if
traceOn {
59
trace.Stop()
60
traceOn = false
61
err = traceFile.Close()
62
}
else
{
63
err = fmt.Errorf(
"tracing is not enabled"
)
64
}
65
return
66
}
Callers
2
durationTrace
Function · 0.85
mapRoutes
Function · 0.85
Calls
1
Close
Method · 0.65
Tested by
no test coverage detected