Function dt_core::utils::to_non_host_specific[][src]

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

Converts a path to a non-host-specific path. If the input path is already non-host-specific, returns itself; Otherwise returns the path’s name before hostname_sep.