Documentation
¶
Overview ¶
Package claudemem finds claude-mem's local store. It lives apart from the importer so session start can ask whether the store changed without depending on the command that reads it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Changed ¶
Changed is when the store at path was last written, or zero when there is no store. The write-ahead log counts too: a running claude-mem writes there, and the main file's time can stay put for as long as it runs.
func DBPath ¶
func DBPath() string
DBPath is where claude-mem keeps its store, resolved the way claude-mem resolves it (src/shared/paths.ts): CLAUDE_MEM_DATA_DIR, then the same key in ~/.claude-mem/settings.json (flat, or under "env"), then ~/.claude-mem. Missing a relocated store would report an install as empty.
Types ¶
This section is empty.