SessionRecord is the metadata stored in index.json — one entry per session file. Path is relative to the store's root directory.
| 32 | // SessionRecord is the metadata stored in index.json — one entry per |
| 33 | // session file. Path is relative to the store's root directory. |
| 34 | type SessionRecord struct { |
| 35 | Path string `json:"path"` |
| 36 | Date time.Time `json:"date"` |
| 37 | Summary string `json:"summary"` |
| 38 | Tags []string `json:"tags"` |
| 39 | } |
| 40 | |
| 41 | // NewSessionFiles opens (or creates) the memory directory at root and |
| 42 | // loads the index. Missing sessions referenced in the index get pruned |
nothing calls this directly
no outgoing calls
no test coverage detected