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

Method manager

cli/context_adapter.go:48–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (a *contextPluginAdapter) manager() *ctxmgr.Manager {
49 if a.cli.contextHandler == nil {
50 return nil
51 }
52 return a.cli.contextHandler.GetManager()
53}
54
55// validContextMode keeps the model from creating a context in a bogus mode.
56func validContextMode(mode string) (ctxmgr.ProcessingMode, bool) {

Callers 14

CreateMethod · 0.95
AttachMethod · 0.95
DetachMethod · 0.95
ListMethod · 0.95
StatusMethod · 0.95
DeleteMethod · 0.95
UpdateMethod · 0.95
ShowMethod · 0.95
InspectMethod · 0.95
MergeMethod · 0.95
ExportMethod · 0.95
ImportMethod · 0.95

Calls 1

GetManagerMethod · 0.45

Tested by

no test coverage detected