Skip to main content

HUNK_FOLD_NAMESPACE

Constant HUNK_FOLD_NAMESPACE 

Source
pub const HUNK_FOLD_NAMESPACE: u64 = 0xD1FF_0001_0000_0000;
Expand description

Namespace for per-buffer hunk-fold provider ids. OR’d with the buffer’s id (low 32 bits) so simultaneous diff buffers register distinct overlay ids — FoldOverlayService::add_source keys removal on the id, so a shared id would let one buffer’s deregistration evict another’s folds. Distinct from multibuffer’s 0xBBBB_* namespaces.