Expand description
Collection of path-related helpers.
Functionsยง
- Return the current working directory.
- Returns true if the filename at
path
containsneedle
. - Returns true if the filename at
path
is not inexpected
. - Returns true if the filename at
path
has the extensionextension
. - Returns true if the filename at
path
starts withprefix
. - Returns true if the filename at
path
ends withsuffix
. - Returns true if the filename at
path
does not containexpected
. - Construct a
PathBuf
relative 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)
. - Helper for reading entries in a given directory and its children.
- Browse the directory
path
non-recursively and return all files which respect the parameters outlined byclosure
. - Path to the root
rust-lang/rust
source checkout.