nx_relate_import.nx
buildroot/runtime/nx_relate_import.nx
about
nx_relate_import.nx -- IMPORT-EXPORT for the relationship graph (CRM census E6): bring real contacts IN
(CSV lines `type,name,tenant` + minimal vCard FN:) and get them OUT (CSV export walked from the store) --
persisted on the sovereign append-only seg_store via the nx_relate_serve pure core. STRICT: a malformed CSV
row (fewer than 3 fields) fails the WHOLE import loudly (no partial silent imports). Argless = selftest gate.
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_relate_serve.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 7 | const K_MAGIC_65536: i64 = 65536 |
functions
| 10 | func ri_csvf(b: *u8, ls: i64, le: i64, idx: i64, out: *u8, cap: i64) -> i64 called by 1: ri_import_csv |
| 30 | func ri_import_csv(prefix: *u8, txt: *u8) -> i64 |
| 58 | func ri_import_vcard(prefix: *u8, txt: *u8) -> i64 |
| 83 | func ri_export_csv(prefix: *u8, out: *u8, cap: i64) -> i64 |
| 130 | func main() -> i64 |