nx_dms_catalog_store.nx
buildroot/runtime/nx_dms_catalog_store.nx
about
nx_dms_catalog_store.nx -- durability for the consent-gated media catalog.
Mirrors nx_rights_ledger_store (rung 2): snapshot the fixed-size asset rows
through nx_seg_store (append-only, rename-commit crash safety) so the catalog
SURVIVES restart -- including soft-remove flags. Row count is derived from
the snapshot value length (no header).
HONEST: the SEARCH index (nx_dms_search) holds text POINTERS, so persisting
it needs text-byte serialization -- a separate rung (flagged). The catalog
is the source of truth; search can be rebuilt from it + a metadata store.
license_tier: ORIGINAL
dependencies 3 imports · 1 importers
imports: nx_syscalls.nxnx_dms_catalog.nxnx_seg_store.nx
imported by: nx_dms_catalog_store_gate.nx
structs
| none |
consts
| none |
functions
| 18 | func nx_dms_catalog_save(c: *NxDmsCatalog, prefix: *u8, segid: i64) -> i64 |
| 26 | func nx_dms_catalog_load(prefix: *u8) -> *NxDmsCatalog |