Module execute

Source
Expand description

Execute internal commands (tokio::process::Command) (e.g. git reset --hard)

Structs§

Command
This structure mimics the API of std::process::Command found in the standard library, but replaces functions that create a process with an asynchronous variant. The main provided asynchronous functions are spawn, status, and output.

Enums§

Error
Error encountered when shelling out to the git binary for some reason

Traits§

CommandBuilder
Wrapper trait to generate commands for Lorry

Functions§

execute
Build the command and execute it returning its stdout/stderr or an error