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

Method GetSetting

cli/hub_sync.go:187–187  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

185// remote client does not implement it, so /config hub mutation is local-only.
186type hubSettingsClient interface {
187 GetSetting(ctx context.Context, key string) (string, bool, error)
188 SetSetting(ctx context.Context, key, value string) error
189 DeleteSetting(ctx context.Context, key string) error
190 AllSettings(ctx context.Context) (map[string]string, error)

Callers 3

settingStrFunction · 0.65
hubEnabledSourceFunction · 0.65
GetSettingMethod · 0.65

Implementers 2

localHubClientcli/hub_local.go
SQLiteStoreserver/hub/sqlite_store.go

Calls

no outgoing calls

Tested by

no test coverage detected