Skip to main content

NAME_PATH_BUDGET

Constant NAME_PATH_BUDGET 

Source
pub const NAME_PATH_BUDGET: usize = 128 /* 128usize */;
Expand description

Maximum relative name path in bytes. With a 512-byte repository root, .heddle/threads/ (17), a 255-byte checkout leaf plus separator (256), and 111 bytes for checkout-local Heddle metadata, the absolute path is at most 1024 bytes. Two encoded names in remote refs also fit this budget.