Function kvarn::prelude::utils::make_path

source ยท
pub fn make_path(
    base_path: impl AsRef<str>,
    dir: impl AsRef<str>,
    file: impl AsRef<str>,
    extension: Option<&str>
) -> CompactString
Expand description

Makes a PathBuf using one allocation.

Format is <base_path>/<dir>/<file>(.<extension>)