MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / Delete

Method Delete

session/store.go:325–337  ·  view source on GitHub ↗
(sessionID string)

Source from the content-addressed store, hash-verified

323 MessageCount: intFromAny(data["message_count"]),
324 TurnCount: intFromAny(data["turn_count"]),
325 Pinned: boolFromAny(data["pinned"]),
326 }
327 if meta.SessionID == "" {
328 return nil
329 }
330 return meta
331}
332
333func (s *Store) loadSQLiteMessages(sessionID string) []map[string]any {
334 path := s.sqliteReadPath(sessionID)
335 if _, err := os.Stat(path); err != nil {
336 return nil
337 }
338 db, err := sql.Open("sqlite", path)
339 if err != nil {
340 return nil

Calls 9

sessionPathMethod · 0.95
metaPathMethod · 0.95
statePathMethod · 0.95
skillRecoveryPathMethod · 0.95
taskRuntimePathMethod · 0.95
sqlitePathMethod · 0.95
sessionDirMethod · 0.95
legacySessionPathsMethod · 0.95