Expand description
Collection of path-related helpers.
Functionsยง
- Return the current working directory.
- Returns true if the filename at
pathcontainsneedle. - 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). - Helper for reading entries in a given directory and its children.
- Browse the directory
pathnon-recursively and return all files which respect the parameters outlined byclosure. - Path to the root
rust-lang/rustsource checkout.