code wiki / (root) / nx_mvault_fetch_gate.nx

nx_mvault_fetch_gate.nx

buildroot/runtime/nx_mvault_fetch_gate.nx

8346 B151 linesdepth 22pulls 153 transitivereach 0 importersview sourcekind gate/prooftopic mvault
docsdependenciesstructsconstsfunctions

about

nx_mvault_fetch_gate.nx -- proves the album-ingest parsing rules OFFLINE. The parsing rules are where downloader bugs actually live, and every one of them fails SILENTLY -- you get fewer files, not an error. So these teeth are the ways a naive scraper quietly loses data: T5 a relative shape it does not understand must REFUSE, not guess a url T8 a too-small buffer must REFUSE, not return half an album as complete T9 <article> must not match tag "a" (the classic prefix collision) T11 a mirror domain must resolve to its family's adapter, not miss license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_mvault_fetch.nx nx_gate.nx nx_gate_verdict.nx nx_mvault_fetch_gate.nx

imports: nx_mvault_fetch.nxnx_gate.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gw sys_write mvf_resolve mvf_strlen sys_mmap mvf_origin_of mvf_strlen ↻ sys_munmap fg_eq mvf_cat mvf_extract mvf_at_ci mvf_lower mvf_strlen ↻ mvf_has_pfx fg_lines gn sys_write ↻ sys_mmap ↻ fg_has mvf_strlen ↻ mvf_adapter_put_pfx sys_mmap ↻ mvf_adapter_rec sys_mmap ↻ canon_encode sys_mmap ↻ cc_cmp cc_w32 cc_len sys_munmap ↻ sys_munmap ↻ reg_put reg_put_x sts_lock sts_mm sys_mmap ↻ sts_werr sys_exit

structs

none

consts

15const FG_PFX: *u8 = "knowledge/mvfetch-test-\x00"

functions

17func fg_eq(a: *u8, b: *u8) -> i64
called by 1: main
23func fg_lines(b: *u8, n: i64) -> i64 { var c: i64=0; var i: i64=0; while i<n { if b[i]==(10 as u8) { c=c+1 } i=i+1 } return c }
called by 1: main
24func fg_has(b: *u8, n: i64, s: *u8) -> i64
called by 1: main calls 1: mvf_strlen
38func main() -> i64