Skip to main content

file_stem

Function file_stem 

Source
pub fn file_stem(name: &Name) -> String
Expand description

The filename stem name projects onto in a document tree.

See Name::to_file_stem for the escaping rule: an initialism segment carries a _ prefix, and a stem that collides with a Windows reserved device name carries a _ suffix.