aboutsummaryrefslogtreecommitdiffstats
path: root/store
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 /store
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 'store')
-rw-r--r--store/store-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/store/store-tree.c b/store/store-tree.c
index b9ae847..83f59e3 100644
--- a/store/store-tree.c
+++ b/store/store-tree.c
@@ -1418,6 +1418,8 @@ PureResult pure_store_open(const char *path, PureStore **out) {
return PURE_OK;
}
+const char *pure_store_path(const PureStore *store) { return store->path; }
+
void pure_store_close(PureStore *store) {
if (!store) return;
release_mapping(store->mapping);