Module run_make_support::path_helpers
source · Expand description
Collection of path-related helpers.
Functions§
- Return the current working directory.
- Returns true if the filename at
pathis not inexpected. - Returns true if the filename at
pathhas the extensionextension. - Returns true if the filename at
pathstarts withprefix. - Returns true if the filename at
pathends withsuffix. - Returns true if the filename at
pathdoes not containexpected. - Construct a
PathBufrelative to the current working directory by joiningcwd()with the relative path. This is mostly a convenience helper so the test writer does not need to writePathBuf::from(path_like_string). - Browse the directory
pathnon-recursively and return all files which respect the parameters outlined byclosure. - Path to the root
rust-lang/rustsource checkout.