Skip to main content

download_name

Function download_name 

Source
pub fn download_name(title: &str, extension: &str) -> PathBuf
Expand description

The file a document is saved as when nothing names one — what devpage pdf and devpage video write and what a version downloads as: its title, with the characters a file name can’t hold replaced by -, and extension.