MCPcopy Create free account
hub / github.com/codehamr/codehamr / reloadConfigFromDisk

Method reloadConfigFromDisk

internal/tui/slash.go:107–126  ·  view source on GitHub ↗

reloadConfigFromDisk re-runs config.Bootstrap and replaces m.cfg so hand-edits to config.yaml between slash commands take effect immediately. URLOverride (from CODEHAMR_URL) is carried across the swap so the env var keeps applying. Returns the Bootstrap error verbatim; callers decide whether to sur

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

runSlashMethod · 0.95
refreshSuggestMethod · 0.95

Calls 5

rebuildClientMethod · 0.95
BootstrapFunction · 0.92
ActiveURLMethod · 0.80
ActiveProfileMethod · 0.80
ResolvedKeyMethod · 0.80

Tested by

no test coverage detected