code wiki / (root) / nx_asset_search.nx

nx_asset_search.nx

buildroot/runtime/nx_asset_search.nx

3811 B98 linesdepth 9pulls 11 transitivereach 1 importersview sourcekind librarytopic asset
docsdependenciesstructsconstsfunctions

about

nx_asset_search.nx -- UNIVERSAL ORGANIZATION TOOLING arc: FACETED FINDABILITY over the catalog. org_research.tsv faceted-findability: assets you can't FIND are lost. Filter the content-addressed catalog by an attribute facet -- type / provenance / classification / date (exact match) or a tag token (the comma-joined `tags` facet) -- and get back the matching record CIDs. PURE COMPOSITION over R1 catalog + R0 record decode (cat_list -> cat_get -> canon_decode -> ar_get); ZERO new storage. HONEST GRADE = PARITY: incumbent DAM (Adobe AEM / Bynder) have mature faceted search; this is the sovereign equivalent over the SAME unified content-addressed records (not an exceed claim). No hardware/persistent-firmware writes (Rule 26). license_tier: ORIGINAL

dependencies 4 imports · 1 importers

nx_syscalls.nx nx_uxf_decode.nx nx_asset_record.nx nx_asset_catalog.nx nx_asset_search.nx nx_asset_search_gate.nx

imports: nx_syscalls.nxnx_uxf_decode.nxnx_asset_record.nxnx_asset_catalog.nx

imported by: nx_asset_search_gate.nx

structs

none

consts

15const K_MAGIC_4096: i64 = 4096

functions

17func as_streq(a: *u8, b: *u8) -> i64
called by 1: as_by_field
28func as_tok_eq(s: *u8, a: i64, b: i64, want: *u8) -> i64
called by 1: as_tag_has
37func as_tag_has(tags: *u8, want: *u8) -> i64
called by 1: as_by_tag calls 1: as_tok_eq
57func as_by_field(prefix: *u8, key: *u8, val: *u8, out_cids: *i64, cap: i64) -> i64
79func as_by_tag(prefix: *u8, want: *u8, out_cids: *i64, cap: i64) -> i64