aboutsummaryrefslogtreecommitdiffstats
path: root/core/state.h
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 10:44:19 +0100
committereunhhu <[email protected]>2026-09-28 10:44:19 +0100
commit4c4c73c30a0524cf893d813fda215199150a6934 (patch)
tree07118a2384cdc192ac881fc1008a39aca4a7d9ae /core/state.h
parentcff25dd387376311b09bab3a58377fecbfe818e4 (diff)
downloadpure-4c4c73c30a0524cf893d813fda215199150a6934.tar.gz
pure-4c4c73c30a0524cf893d813fda215199150a6934.zip
Keep lists as images and a log of their changes, checkpointed off the owner
Diffstat (limited to 'core/state.h')
-rw-r--r--core/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/state.h b/core/state.h
index 2bf78b0..96410b3 100644
--- a/core/state.h
+++ b/core/state.h
@@ -27,6 +27,7 @@ PureResult pure_state_open(const char *path, const char *name, PureDraft **out);
* its drafts. */
typedef struct PureStore PureStore;
PureResult pure_store_open(const char *path, PureStore **out);
+const char *pure_store_path(const PureStore *);
void pure_store_close(PureStore *);
PureResult pure_store_draft(PureStore *, const char *key, PureDraft **out);
PureResult pure_store_state(PureStore *, const char *name, PureDraft **out);