MCPcopy
hub / github.com/go-git/go-git / SetTarget

Function SetTarget

utils/trace/trace.go:34–36  ·  view source on GitHub ↗

SetTarget sets the tracing targets.

(target Target)

Source from the content-addressed store, hash-verified

32
33// SetTarget sets the tracing targets.
34func SetTarget(target Target) {
35 current.Store(int32(target))
36}
37
38// SetLogger sets the logger to use for tracing.
39func SetLogger(l *log.Logger) {

Callers 6

setUpTestFunction · 0.85
TestOneTargetFunction · 0.85
TestMultipleTargetsFunction · 0.85
TestPrintfFunction · 0.85
BenchmarkEnabledTargetFunction · 0.85

Calls

no outgoing calls

Tested by 6

setUpTestFunction · 0.68
TestOneTargetFunction · 0.68
TestMultipleTargetsFunction · 0.68
TestPrintfFunction · 0.68
BenchmarkEnabledTargetFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…