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

Method UpdateProfile

cli/workspace/memory.go:174–176  ·  view source on GitHub ↗

UpdateProfile applies deterministic profile updates and returns whether anything changed.

(updates map[string]string)

Source from the content-addressed store, hash-verified

172// UpdateProfile applies deterministic profile updates and returns whether
173// anything changed.
174func (ms *MemoryStore) UpdateProfile(updates map[string]string) bool {
175 return ms.manager.UpdateProfile(updates)
176}
177
178// ForgetFacts removes facts matching substr and returns how many were removed.
179func (ms *MemoryStore) ForgetFacts(substr string) int {

Callers

nothing calls this directly

Calls 1

UpdateProfileMethod · 0.65

Tested by

no test coverage detected