Documentation
¶
Overview ¶
Package memory provides memory management functionality (stub implementation). NOTE: This is a stub package. The full implementation was removed as dead code. These stub functions maintain API compatibility.
Index ¶
- func Analyze() (string, error)
- func Optimize() error
- type MemoryItem
- type MemoryStore
- func (m *MemoryStore) AddDecision(decision string, tags ...string) string
- func (m *MemoryStore) AddFact(fact string, tags ...string) string
- func (m *MemoryStore) AddFinding(finding string, tags ...string) string
- func (m *MemoryStore) AddTask(task string, tags ...string) string
- func (m *MemoryStore) Clear()
- func (m *MemoryStore) Query(query string, tags ...string) []MemoryItem
- func (m *MemoryStore) Stats() map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MemoryItem ¶
MemoryItem represents an item in the memory store (stub).
type MemoryStore ¶
type MemoryStore struct {
Path string
Data map[string]interface{}
Tasks []string
Findings []string
Decisions []string
Items []MemoryItem
}
MemoryStore provides memory storage (stub).
func NewMemoryStore ¶
func NewMemoryStore(path string) *MemoryStore
NewMemoryStore creates a new memory store (stub).
func (*MemoryStore) AddDecision ¶
func (m *MemoryStore) AddDecision(decision string, tags ...string) string
AddDecision adds a decision to the memory store (stub).
func (*MemoryStore) AddFact ¶
func (m *MemoryStore) AddFact(fact string, tags ...string) string
AddFact adds a fact to the memory store (stub).
func (*MemoryStore) AddFinding ¶
func (m *MemoryStore) AddFinding(finding string, tags ...string) string
AddFinding adds a finding to the memory store (stub).
func (*MemoryStore) AddTask ¶
func (m *MemoryStore) AddTask(task string, tags ...string) string
AddTask adds a task to the memory store (stub).
func (*MemoryStore) Query ¶
func (m *MemoryStore) Query(query string, tags ...string) []MemoryItem
Query queries the memory store (stub).
func (*MemoryStore) Stats ¶
func (m *MemoryStore) Stats() map[string]interface{}
Stats returns memory statistics (stub).
Click to show internal directories.
Click to hide internal directories.