From ea57e79c41bd455d86aa157775e9eebeb92a2a36 Mon Sep 17 00:00:00 2001 From: Carl Niklas Rydberg Date: Sun, 21 Dec 2025 20:44:48 +0100 Subject: [PATCH] =?UTF-8?q?Added=20a=20short=20cursor=E2=80=91format=20not?= =?UTF-8?q?e=20in=20store.h=20documenting=20that=20the=20in=E2=80=91memory?= =?UTF-8?q?=20adapter=20uses=20ReferenceBytes=20(hash=5Fid=20+=20digest)?= =?UTF-8?q?=20of=20the=20last=20edge=5Fref=20as=20the=20scan=5Fedges=20pag?= =?UTF-8?q?e=20token.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/amduat/tgk/store.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/amduat/tgk/store.h b/include/amduat/tgk/store.h index 650c26c..527911a 100644 --- a/include/amduat/tgk/store.h +++ b/include/amduat/tgk/store.h @@ -151,6 +151,9 @@ bool amduat_tgk_store_scan_edges(amduat_tgk_store_t *store, bool has_page_token, amduat_tgk_graph_scan_result_t *out_scan); +/* Cursor format note: the in-memory TGK store adapter encodes page tokens as + * ASL1 ReferenceBytes (hash_id + digest) for the last edge_ref returned. */ + bool amduat_tgk_store_neighbors(amduat_tgk_store_t *store, amduat_reference_t node, amduat_tgk_edge_type_filter_t type_filter,