Function prefix_with_current_dir_if_needed

Source
pub fn prefix_with_current_dir_if_needed(path: PathBuf) -> PathBuf
Expand description

Transforms a path without prefix into a relative path starting at the current directory.

ยงArguments

  • path - The path to be prefixed if needed.