MCPcopy Create free account
hub / github.com/astercloud/aster / GetEntries

Method GetEntries

pkg/memory/project/types.go:170–175  ·  view source on GitHub ↗

GetEntries 获取指定章节的所有条目

(section MemorySection)

Source from the content-addressed store, hash-verified

168
169// GetEntries 获取指定章节的所有条目
170func (pm *ProjectMemory) GetEntries(section MemorySection) []*Entry {
171 if pm.Sections[section] == nil {
172 return []*Entry{}
173 }
174 return pm.Sections[section].Entries
175}
176
177// GetSummary 获取摘要(用于注入 AI 上下文)
178func (pm *ProjectMemory) GetSummary() string {

Callers 2

GetSummaryMethod · 0.80
generateMarkdownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected