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

Method GetStats

cli/workspace/memory/patterns.go:98–102  ·  view source on GitHub ↗

GetStats returns a copy of the current stats.

()

Source from the content-addressed store, hash-verified

96
97// GetStats returns a copy of the current stats.
98func (pd *PatternDetector) GetStats() UsageStats {
99 pd.mu.RLock()
100 defer pd.mu.RUnlock()
101 return pd.stats
102}
103
104// GetPeakHours returns the top N hours of activity.
105func (pd *PatternDetector) GetPeakHours(n int) []int {

Callers 2

showMemoryStatsMethod · 0.80
StatsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected