code wiki / _hdl_build / nx_wflow_tpl_gate.nx

nx_wflow_tpl_gate.nx

buildroot/runtime/_hdl_build/nx_wflow_tpl_gate.nx

3725 B89 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic wflow
docsdependenciesstructsconstsfunctions

about

nx_wflow_tpl_gate.nx -- R13 TEMPLATE GALLERY gate: gallery = <dir>/index (name|description) + per-name .flows/.steps pairs. LIST prints every row with file-existence + version and counts USABLE pairs; INSTANTIATE is fail-closed to indexed templates, byte-copies both files, then validates the COPY whole (a broken template never lands silently) and reports its version. Negatives: unknown name, indexed row with missing files, missing gallery. ZERO forks. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_wflow_engine.nx nx_wflow_tpl_gate.nx

imports: nx_wflow_engine.nx

imported by: nobody (leaf or entry point)

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

main wf_now sys_now_realtime_sec sys_mmap sys_clock_gettime_real wf_cat wf_catn wf_tpl_index_path wf_cat ↻ wf_append p sys_write slen slen ↻ wf_tpl_path wf_cat ↻ wf_tpl_list wf_tpl_index_path ↻ wf_readall p ↻ p ↻ pipe_field wf_tpl_path ↻ wf_tpl_exists wf_defs_version wf_readall ↻ wf_has_rng slen ↻ wf_num_after slen ↻ pn p ↻ sys_mmap ↻ sys_write ↻ wf_tpl_instantiate wf_tpl_indexed wf_tpl_index_path ↻ wf_readall ↻ pipe_field ↻ seq

structs

none

consts

none

functions

8func tg_has(path: *u8, needle: *u8) -> i64
called by 1: main calls 2: wf_readallwf_lines_with2
16func main() -> i64