code wiki / (root) / nx_dms_catalog_store.nx

nx_dms_catalog_store.nx

buildroot/runtime/nx_dms_catalog_store.nx

1743 B41 linesdepth 4pulls 5 transitivereach 1 importersview sourcekind librarytopic dms
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_dms_catalog.nx nx_seg_store.nx nx_dms_catalog_store.nx nx_dms_catalog_store_gate.nx

imports: nx_syscalls.nxnx_dms_catalog.nxnx_seg_store.nx

imported by: nx_dms_catalog_store_gate.nx

structs

none

consts

none

functions

18func nx_dms_catalog_save(c: *NxDmsCatalog, prefix: *u8, segid: i64) -> i64
called by 1: main calls 3: ss_beginss_addss_commit
26func nx_dms_catalog_load(prefix: *u8) -> *NxDmsCatalog