Skip to main content

MAX_IMPORT_REFS

Constant MAX_IMPORT_REFS 

Source
pub const MAX_IMPORT_REFS: usize = api::import_authority::MAX_IMPORT_SOURCE_REFS /* 4_096usize */;
Expand description

Native refs (branches plus commit tags) one Git import may carry.

This is heddle_api::import_authority::MAX_IMPORT_SOURCE_REFS (4096, HeddleCo/api#389), the bound on a host’s complete discovery and weft’s retained-ref cap, so the converter and the import authority cannot drift.