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

Method AttachFile

pkg/tui/components/editor/editor.go:78–78  ·  view source on GitHub ↗

AttachFile adds a file as an attachment and inserts @filepath into the editor

(filePath string)

Source from the content-addressed store, hash-verified

76 InsertText(text string)
77 // AttachFile adds a file as an attachment and inserts @filepath into the editor
78 AttachFile(filePath string) error
79 Cleanup()
80 GetSize() (width, height int)
81 BannerHeight() int

Implementers 2

mockEditorpkg/tui/tui_exit_test.go
editorpkg/tui/components/editor/editor.go

Calls

no outgoing calls