Added a short cursor‑format note in store.h documenting that the in‑memory adapter uses ReferenceBytes (hash_id + digest) of the last edge_ref as the scan_edges page token.

This commit is contained in:
Carl Niklas Rydberg 2025-12-21 20:44:48 +01:00
parent 47504644f7
commit ea57e79c41

View file

@ -151,6 +151,9 @@ bool amduat_tgk_store_scan_edges(amduat_tgk_store_t *store,
bool has_page_token, bool has_page_token,
amduat_tgk_graph_scan_result_t *out_scan); 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, bool amduat_tgk_store_neighbors(amduat_tgk_store_t *store,
amduat_reference_t node, amduat_reference_t node,
amduat_tgk_edge_type_filter_t type_filter, amduat_tgk_edge_type_filter_t type_filter,