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

Function firstExistingPath

session/store.go:430–435  ·  view source on GitHub ↗
(primary, fallback string)

Source from the content-addressed store, hash-verified

428 if LocalRuntimeMigrated(s.dir, sessionID) {
429 return fmt.Errorf("session %s was migrated to cluster storage and is read-only locally", sessionID)
430 }
431 return nil
432}
433
434func (s *Store) upsertMeta(sessionID string, messageCount, turnCount int, provided *Meta) (*Meta, error) {
435 now := float64(time.Now().UnixNano()) / 1e9
436 meta := provided
437 if meta == nil {
438 meta = s.LoadMeta(sessionID)

Callers 7

sessionReadPathMethod · 0.85
metaReadPathMethod · 0.85
stateReadPathMethod · 0.85
skillRecoveryReadPathMethod · 0.85
taskRuntimeReadPathMethod · 0.85
sqliteReadPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected