code wiki / _hdl_build / nx_manga_shelf_scan.nx

nx_manga_shelf_scan.nx

buildroot/runtime/_hdl_build/nx_manga_shelf_scan.nx

1329 B34 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic manga
docsdependenciesstructsconstsfunctions

about

nx_manga_shelf_scan.nx -- CLI probe for the LOCAL shelf catalog: prints the exact /api/shelf JSON the media server serves (run it from the nishi-reader root). With a path argument it prints that path's reader slug + whether its extracted cbx.json exists -- the verification handle for slug-chain checks. Read-only. license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_manga_shelf_lib.nx nx_manga_shelf_scan.nx

imports: nx_syscalls.nxnx_manga_shelf_lib.nx

imported by: nobody (leaf or entry point)

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

main msl_slen sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ msl_pathslug msl_hexc msl_probe_cbx msl_pathslug ↻ msl_cats sys_openat_rd sys_close msl_cats ↻ msl_catn sys_write ↻ msl_shelf_json msl_ctx_new sys_mmap ↻ sys_mmap ↻ sys_read_file sys_openat_rd ↻ sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close ↻ msl_cats ↻ msl_scan

structs

none

consts

7const K_MAGIC_1024: i64 = 1024
8const K_MAGIC_2097152: i64 = 2097152

functions

10func main(argc: i64, argv: *i64) -> i64