code wiki / _hdl_build / nx_wiki_pub_board.nx

nx_wiki_pub_board.nx

buildroot/runtime/_hdl_build/nx_wiki_pub_board.nx

2443 B45 linesdepth 10pulls 12 transitivereach 0 importersview sourcekind tooltopic wiki
docsdependenciesstructsconstsfunctions

about

nx_wiki_pub_board.nx -- publish ONE page (board) LIVE through the GUARDED + VERSIONED publish path (vpub): snapshot a content-addressed rollback version, then the A3 fail-closed guard must ALLOW before the NAS push runs. ADDITIVE: writes exactly /wiki/board.html. Corpus set = the 9 walkable slugs every page links to (a missing slug => PG_REJECT_DEAD_LINK). REUSE: nx_wiki_versioned_publish vpub. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_wiki_versioned_publish.nx nx_itoa_lib.nx nx_syscalls.nx nx_wiki_pub_board.nx

imports: nx_wiki_versioned_publish.nxnx_itoa_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap vpub vpub_ex vp_len sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close vp_get_count sys_mmap ↻ vp_cnt_key vp_cat ss_get_cap sys_mmap ↻ ss_scan_cap sys_mmap ↻ ss_manifest_cap ss_scan_seglist vp_parse_dec ss_begin ss_begin_cap sys_mmap ↻ war_archive_page war_cid_of_body cid_of sys_mmap ↻ sha256_digest cid_from_digest sys_munmap war_blobkey war_cat ss_add ss_add2 ss_w32 ss_len war_cidkey

structs

none

consts

17const RP_EPOCH: i64 = 1781850000

functions

10func r_w(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 calls 1: sys_write
15func r_num(v: i64) -> i64 { nxi_out(v); return 0 }
called by 1: main calls 1: nxi_out
19func main() -> i64