code wiki / _hdl_build / nx_docportal_ingest.nx
nx_docportal_ingest.nx
buildroot/runtime/_hdl_build/nx_docportal_ingest.nx
about
nx_docportal_ingest.nx -- CLI: UPLOAD one document file into a domain's public|private shard (the operator's
"upload documents" entrypoint). Composes nx_docportal_lib: writes the raw bytes content-addressed into the
sovereign seg_store and, for a PUBLIC doc, emits the derived BM25 search line so it is findable on
<domain>/search. A PRIVATE doc lands in the client vault only.
nx_docportal_ingest <domain> <public|private> <doc_path>
license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_docportal_lib.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
| none |
functions
| 9 | func dpc_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } called by 1: main |
| 10 | func dpc_num(v: i64) -> i64 called by 1: main |
| 18 | func dpc_streq(a: *u8, b: *u8) -> i64 { var i: i64 = 0; while a[i] != (0 as u8) { if a[i] != b[i] { return 0 } i = i + 1 } if b[i] != (0 as u8) { return 0 } return 1 } called by 1: main |
| 20 | func main(argc: i64, argv: *i64) -> i64 |