Function dt_core::utils::to_host_specific[][src]

pub fn to_host_specific(
    path: impl AsRef<Path>,
    hostname_sep: &str
) -> Result<PathBuf, Report>
Expand description

Converts a path to a host-specific path. If the input path is already host-specific, returns itself; Otherwise returns the path’s name appended with “${hostname_sep}$(hostname)”.