run_make_support::path_helpers

Function path

source
pub fn path<P: AsRef<Path>>(p: P) -> PathBuf
Expand description

Construct a PathBuf relative to the current working directory by joining cwd() with the relative path. This is mostly a convenience helper so the test writer does not need to write PathBuf::from(path_like_string).

ยงExample

let p = path("support_file.txt");