code wiki / (root) / nx_lib_ingest_tsv.nx

nx_lib_ingest_tsv.nx

buildroot/runtime/nx_lib_ingest_tsv.nx

2040 B54 linesdepth 4pulls 4 transitivereach 9 importersview sourcekind librarytopic lib
docsdependenciesstructsconstsfunctions

about

nx_lib_ingest.nx -- sovereign WRITE/INGEST path for the nishi-library catalog. Ingests a TSV of works into nx_lib_store (retires the Python sources/sync). line = work_hk<TAB>title<TAB>doi<TAB>published<TAB>license splits work_hk off the front; the remainder is the store record. No python, no shell, no 3rd-party. Built + run by the WOMB. license_tier: ORIGINAL | genealogy_id: nishi_library_sovereign_ingest_2026_06_30

dependencies 2 imports · 5 importers

nx_syscalls.nx nx_lib_store.nx nx_lib_ingest_tsv.nx nx_lib_e2e_test.nx nx_lib_http.nx nx_lib_index_test.nx nx_lib_page_test.nx nx_lib_search_test.nx

imports: nx_syscalls.nxnx_lib_store.nx

imported by: nx_lib_e2e_test.nxnx_lib_http.nxnx_lib_index_test.nxnx_lib_page_test.nxnx_lib_search_test.nx

structs

none

consts

9const K_MAGIC_1024: i64 = 1024

functions

12func nx_lib_ingest_buf(buf: *u8, n: i64) -> i64
48func nx_lib_ingest_file(path: *u8) -> i64