Skip to main content

NAR_REF_PREFIX

Constant NAR_REF_PREFIX 

Source
pub const NAR_REF_PREFIX: &'static str;
Expand description

Key-space prefix owning every reverse edge.

Deliberately a sibling of nar/ rather than a child: a Nix client only ever fetches nix-cache-info, <hash>.narinfo and the exact URL: a narinfo advertises, so an extra top-level directory is invisible to it, while a child of nar/ would sit in the namespace a NAR key is drawn from.