code wiki / (root) / nx_app_publish.nx

nx_app_publish.nx

buildroot/runtime/nx_app_publish.nx

1937 B33 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic app
docsdependenciesstructsconstsfunctions

about

nx_app_publish.nx -- the ONE native command to publish an app into the Nishi ecosystem: registers it in the sovereign app store (nx_app_store / seg_store). Once registered, `nx_family_hub` auto-adds its card and `nx_app_monitor` auto- watches it -- no direct-linking, no hunting, nothing lost or unmonitored. nx_app_publish <name> <path> <title> <blurb> <category> <marker> (category: make|play|home ; marker: a string that must appear in the served body) Additive: re-publishing a name records a new version; the registry view shows latest. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_app_store.nx nx_app_publish.nx

imports: nx_syscalls.nxnx_app_store.nx

imported by: nobody (leaf or entry point)

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

main pw sys_write sys_exit sys_mmap pcat nx_app_store_put sys_mmap ↻ aps_key aps_cat ss_next_segid sys_mmap ↻ ss_cat ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close ss_segid_ok ss_begin ss_begin_cap sys_mmap ↻ ss_add ss_add2 ss_w32 ss_len ss_get sys_mmap ↻ ss_scan sys_mmap ↻ ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ↻ ss_readall ↻ sys_munmap ss_scan_seglist ss_len ↻ sys_mmap ↻

structs

none

consts

11const K_MAGIC_8192: i64 = 8192

functions

13func pw(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
14func pcat(dst: *u8, off: i64, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ dst[off+i]=s[i]; i=i+1 } return off+i }
called by 1: main
16func main(argc: i64, argv: *i64) -> i64