MCPcopy Index your code
hub / github.com/docker/docker-agent / getVersion

Method getVersion

pkg/telemetry/types.go:285–289  ·  view source on GitHub ↗

getVersion safely gets the version with proper locking

()

Source from the content-addressed store, hash-verified

283
284// getVersion safely gets the version with proper locking
285func (tc *Client) getVersion() string {
286 tc.mu.RLock()
287 defer tc.mu.RUnlock()
288 return tc.version
289}

Callers 2

createEventMethod · 0.95
sendEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected