code wiki / (root) / nx_pub_release_prepare_candidate_t256.nx

nx_pub_release_prepare_candidate_t256.nx

buildroot/runtime/nx_pub_release_prepare_candidate_t256.nx

5491 B145 linesdepth 3pulls 3 transitivereach 4 importersview sourcekind librarytopic pub
docsdependenciesstructsconstsfunctions

about

Versioned release identity records in the existing publication store. No q-row rewrite.

dependencies 1 imports · 1 importers

nx_seg_store.nx nx_pub_release_prepare_candida nx_site_publish_prepare_lib_t256.n

imports: nx_seg_store.nx

imported by: nx_site_publish_prepare_lib_t256.nx

structs

none

consts

4const PR_OK: i64 = 0
5const PR_CREATED: i64 = 1
6const PR_INVALID: i64 = 2
7const PR_IO: i64 = 4
8const PR_CONFLICT: i64 = 8
9const PR_SHA_HEX: i64 = 64
10const PR_KEY_PREFIX: *u8 = "pub-release:" as *u8
11const PR_RECORD_PREFIX: *u8 = "NPR1\tregistered\t" as *u8
119const PR_MISSING: i64 = 3

functions

13func pr_path_ok(path: *u8) -> i64
45func pr_hash_ok(hash: *u8) -> i64
58func pr_key(path: *u8) -> *u8
called by 2: pr_checkpr_register calls 2: ss_lenss_cat
65func pr_record(hash: *u8) -> *u8
called by 2: pr_checkpr_register calls 2: ss_lenss_cat
72func pr_same(a: *u8, an: i64, b: *u8, bn: i64) -> i64
78func pr_check(prefix: *u8, path: *u8, hash: *u8) -> i64
91func pr_register(prefix: *u8, path: *u8, hash: *u8) -> i64
120func pr_observe(prefix: *u8,path: *u8,hash: *u8) -> i64