SessionFiles is the default Store: one markdown file per session under /sessions/, with /index.json as a fast-lookup layer over them. Both files are human-readable and git-friendly; the index lets Recall filter without opening every session file.
| 22 | // them. Both files are human-readable and git-friendly; the index lets |
| 23 | // Recall filter without opening every session file. |
| 24 | type SessionFiles struct { |
| 25 | root string |
| 26 | mu sync.Mutex |
| 27 | index []SessionRecord |
| 28 | draft []Entry // in-memory entries gathered this session, flushed at Close |
| 29 | sessionStart time.Time |
| 30 | } |
| 31 | |
| 32 | // SessionRecord is the metadata stored in index.json — one entry per |
| 33 | // session file. Path is relative to the store's root directory. |
nothing calls this directly
no outgoing calls
no test coverage detected