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

Method Status

cli/proc_tool_adapter.go:54–60  ·  view source on GitHub ↗

Status implements plugins.ProcAdapter.

(id string)

Source from the content-addressed store, hash-verified

52
53// Status implements plugins.ProcAdapter.
54func (a *procToolAdapter) Status(id string) (string, error) {
55 info, err := a.supervisor().Status(id)
56 if err != nil {
57 return "", err
58 }
59 return formatProcInfo(info), nil
60}
61
62// Logs implements plugins.ProcAdapter.
63func (a *procToolAdapter) Logs(id string, tail int) (string, error) {

Callers

nothing calls this directly

Calls 3

supervisorMethod · 0.95
formatProcInfoFunction · 0.85
StatusMethod · 0.65

Tested by

no test coverage detected