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

Method GetSetting

cli/hub_local.go:220–222  ·  view source on GitHub ↗

Settings delegate to the shared store, so /config hub changes persist and are read live by the gateway.

(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

218// Settings delegate to the shared store, so /config hub changes persist and are
219// read live by the gateway.
220func (l *localHubClient) GetSetting(ctx context.Context, key string) (string, bool, error) {
221 return l.store.GetSetting(ctx, key)
222}
223func (l *localHubClient) SetSetting(ctx context.Context, key, value string) error {
224 return l.store.SetSetting(ctx, key, value)
225}

Callers

nothing calls this directly

Calls 1

GetSettingMethod · 0.65

Tested by

no test coverage detected