code wiki / (root) / nx_doc_xref_real_audit_test.nx

nx_doc_xref_real_audit_test.nx

buildroot/runtime/nx_doc_xref_real_audit_test.nx

863 B29 linesdepth 7pulls 10 transitivereach 0 importersview sourcekind gate/prooftopic doc
docsdependenciesstructsconstsfunctions

about

nx_doc_xref_real_audit_test.nx -- substrate-wide broken-ref audit. Two-pass walk of nxc2/docs/: builds names_blob from .md filenames, then scans each doc for [[X]] refs + validates each against the blob. Emits broken-ref lines + aggregate verdict to stdout.

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_string_ops.nx nx_dir.nx nx_doc_xref.nx nx_doc_xref_real_audit_test.nx

imports: nx_syscalls.nxnx_string_ops.nxnx_dir.nxnx_doc_xref.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap nx_doc_xref_counts_init nx_doc_xref_walk_dir sys_mmap ↻ nx_dir_list nx_openat nx_dirent_read nx_dirent_iter nx_dir_is_dotlike nx_dir_name_strlen nx_dir_arena_copy_name nx_dir_row_at nx_str_ends_with _docxref_append_name sys_openat_rd sys_read sys_close nx_doc_extract_link_target nx_doc_link_target_exists nx_str_equals _docxref_write_broken sys_write nx_doc_xref_report_stdout sys_write ↻ sys_mmap ↻ nx_str_format_int

structs

none

consts

none

functions

12func main() -> i64