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

Function User

pkg/tui/types/types.go:101–106  ·  view source on GitHub ↗
(content string)

Source from the content-addressed store, hash-verified

99}
100
101func User(content string) *Message {
102 return &Message{
103 Type: MessageTypeUser,
104 Content: strings.ReplaceAll(content, "\t", " "),
105 }
106}
107
108func Cancelled() *Message {
109 return &Message{

Callers 7

TestAppendAndRenderFunction · 0.92
TestRemoveLastFunction · 0.92
TestMessagesFunction · 0.92
AddUserMessageMethod · 0.92
LoadFromSessionMethod · 0.92

Calls

no outgoing calls

Tested by 4

TestAppendAndRenderFunction · 0.74
TestRemoveLastFunction · 0.74
TestMessagesFunction · 0.74