Function winsafe::path::replace_file_name

source ·
pub fn replace_file_name(full_path: &str, new_file: &str) -> String
Available on crate feature kernel only.
Expand description

Replaces the file name by the given one, returning a new string.