Skip to main content

MAX_REF_LEN

Constant MAX_REF_LEN 

Source
pub const MAX_REF_LEN: usize = 255;
Expand description

Maximum lengths, chosen generously above any real git identifier while still bounding argv/memory size against a malicious caller.