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

Function SystemMessage

pkg/session/session.go:321–323  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

319}
320
321func SystemMessage(content string) *Message {
322 return SystemMessageAt(time.Now(), content)
323}
324
325// SystemMessageAt is like SystemMessage but stamps the message with an explicit
326// creation time, letting callers (and tests) avoid the wall clock.

Callers 1

buildSessionFunction · 0.92

Calls 2

SystemMessageAtFunction · 0.85
NowMethod · 0.80

Tested by

no test coverage detected