mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
docs(test): Document git_process
This commit is contained in:
parent
504d377c8e
commit
fa0e66e738
@ -1478,9 +1478,10 @@ pub fn cargo_process(arg_line: &str) -> Execs {
|
|||||||
execs().with_process_builder(p)
|
execs().with_process_builder(p)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn git_process(s: &str) -> ProcessBuilder {
|
/// Run `git $arg_line`, see [`ProcessBuilder`]
|
||||||
|
pub fn git_process(arg_line: &str) -> ProcessBuilder {
|
||||||
let mut p = process("git");
|
let mut p = process("git");
|
||||||
p.arg_line(s);
|
p.arg_line(arg_line);
|
||||||
p
|
p
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user