pub fn encode_name(value: &str) -> StringExpand description
Percent escaping shared by ref storage and managed checkouts. Uppercase
ASCII is escaped too: distinct names stay distinct on case-folding hosts.
The n- prefix excludes Windows device names; dots and hostile bytes escape.