Modules§
Macros§
Structs§
- Cargo
Toml - Cmd
- A command.
- Pushd
- The result of calling a successful
pushd
. - Pushenv
- The result of calling a successful
pushenv
. - Section
- TempDir
- A temporary directory.
Functions§
- cargo_
toml - cp
- Copies
src
intodst
. - cwd
- Returns the current working directory.
- mkdir_p
- Creates the
path
directory and all of its parents. - mktemp_
d - Creates an empty, world-readable, temporary directory.
- push_
rustup_ toolchain - pushd
- Changes the current directory to
dir
. - pushenv
- Sets the environment variable
key
to have valueval
. - read_
dir - Returns a sorted list of paths directly contained in the directory at
path
that were able to be accessed without error. - read_
file - Reads the file at
path
into aString
. - rm_rf
- Removes the given
path
and all of its contents (if it is a directory). - section
- set_
dry_ run - write_
file - Writes the
contents
into the file atpath
, creating the file if it didn’t exist already.