MCPcopy
hub / github.com/docker/docker-agent / defaultNewID

Function defaultNewID

pkg/session/session.go:21–21  ·  view source on GitHub ↗

defaultNewID returns a fresh random session ID.

()

Source from the content-addressed store, hash-verified

19
20// defaultNewID returns a fresh random session ID.
21func defaultNewID() string { return uuid.New().String() }
22
23const (
24 // toolContentPlaceholder is the text used to replace truncated tool content

Callers 1

newIDMethod · 0.85

Calls 2

StringMethod · 0.45
NewMethod · 0.45

Tested by

no test coverage detected