Skip to main content

bounded_name

Function bounded_name 

Source
pub fn bounded_name(name: &str) -> Cow<'_, str>
Expand description

name, or for a longer one its first 64 bytes and a hash of the whole: every name derived from a destination (its staged file, a stage of that, a converter’s temp) then stays under the 255-byte NAME_MAX, which a figure name of 220 characters or more took them past.