nx_fileop.nx
buildroot/runtime/nx_fileop.nx
about
nx_fileop.nx -- sovereign file-op CLI (retires Remove-Item / mv). Composes the canonical nx_fio + nx_syscalls's
sys_renameat. Usage:
nx_fileop rm <path> delete a file (refuses empty / "/" )
nx_fileop mv <src> <dst> atomic rename (sys_renameat)
nx_fileop exists <path> existence check (exit 0 if present, 3 if absent)
No shell. license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_fio.nxnx_gate.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
| 10 | func fo_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 |
| 11 | func fo_bad_path(p: *u8) -> i64 { if p[0]==(0 as u8) { return 1 } if p[0]==(0x2f as u8) { if p[1]==(0 as u8) { return 1 } } return 0 } called by 1: main |
| 13 | func main(argc: i64, argv: *i64) -> i64 |