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

Method Get

cli/workspace/memory/profile.go:37–41  ·  view source on GitHub ↗

Get returns a copy of the current profile.

()

Source from the content-addressed store, hash-verified

35
36// Get returns a copy of the current profile.
37func (ps *UserProfileStore) Get() UserProfile {
38 ps.mu.RLock()
39 defer ps.mu.RUnlock()
40 return ps.profile
41}
42
43// IsEmpty reports whether the profile holds no user-supplied data yet
44// (command counts in TopCommands do not count as "data about the user").

Calls

no outgoing calls