run_make_support

Module path_helpers

Source
Expand description

Collection of path-related helpers.

Functionsยง

  • Return the current working directory.
  • Returns true if the filename at path contains needle.
  • Returns true if the filename at path is not in expected.
  • Returns true if the filename at path has the extension extension.
  • Returns true if the filename at path starts with prefix.
  • Returns true if the filename at path ends with suffix.
  • Returns true if the filename at path does not contain expected.
  • 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).
  • 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 by closure.
  • Path to the root rust-lang/rust source checkout.