MCPcopy Create free account
hub / github.com/diillson/chatcli / Remove

Method Remove

cli/proc_tool_adapter.go:84–89  ·  view source on GitHub ↗

Remove implements plugins.ProcAdapter.

(id string)

Source from the content-addressed store, hash-verified

82
83// Remove implements plugins.ProcAdapter.
84func (a *procToolAdapter) Remove(id string) (string, error) {
85 if err := a.supervisor().Remove(id); err != nil {
86 return "", err
87 }
88 return fmt.Sprintf("removed %s", id), nil
89}
90
91// List implements plugins.ProcAdapter.
92func (a *procToolAdapter) List() (string, error) {

Callers 1

Calls 2

supervisorMethod · 0.95
RemoveMethod · 0.65

Tested by 1