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

Method statePath

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

Source from the content-addressed store, hash-verified

376 meta.TurnCount = turnCount
377 return meta, atomicWriteJSON(s.metaPath(sessionID), meta)
378}
379
380func (s *Store) loadGenerationTriplet(sessionID, payloadPath string) (map[string]any, map[string]any, map[string]any) {
381 stateData := loadJSONMap(s.stateReadPath(sessionID))
382 payloadData := loadJSONMap(payloadPath)
383 commitData := loadJSONMap(s.skillRecoveryCommitReadPath(sessionID))

Callers 4

SaveStateWithRecoveryMethod · 0.95
DeleteMethod · 0.95
stateReadPathMethod · 0.95
migrateLegacySessionMethod · 0.95

Calls 1

sessionDirMethod · 0.95

Tested by

no test coverage detected