nx_wflow_identity_canonical_gate_t344.nx
buildroot/runtime/nx_wflow_identity_canonical_gate_t344.nx
about
Native integration qualification of additive workflow result commands.
dependencies 2 imports · 0 importers
imports: nx_wflow_result.nxnx_tool_run.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 8 | func wrt_check(ok:i64,label:*u8)->i64{p("RESULT-GATE ");p(label);if ok==1{p(" PASS\n");wrt_pass=wrt_pass+1}else{p(" FAIL\n");wrt_fail=wrt_fail+1};return ok} |
| 9 | func wrt_path(base:*u8,leaf:*u8)->*u8{let b:*u8=sys_mmap(slen(base)+slen(leaf)+2);var at:i64=wf_cat(b,0,base);b[at]=47;wf_cat(b,at+1,leaf);return b} |
| 10 | func wrt_file(path:*u8,body:*u8)->i64{let fd:i64=sys_openat_exclusive(path,MODE_0600);if fd<0{return 0};let rc:i64=wfr_write_all(fd,body,slen(body));let sync:i64=sys_fsync(fd);sys_close(fd);return rc==0 && sync==0} |
| 11 | func wrt_capture(args:*i64,rcp:*i64)->*WfOwnedText |
| 19 | func wrt_result(ledger:*u8,log:*u8,filter:*u8,expected:i64,needle:*u8,label:*u8)->i64 |
| 27 | func wrt_fire(flows:*u8,steps:*u8,ledger:*u8,cat:*u8,event:*u8,log:*u8,expected:i64,needle:*u8,label:*u8)->i64 |
| 35 | func wrt_identity_main(argc:i64,argv:*i64)->i64 |
| 173 | func main(argc:i64,argv:*i64)->i64 |