Module gr::git

source ·
Expand description

Git commands. It defines the public entrypoints to execute git commands and interact with the git repositories.

Git commands are just public functions that return a Result<CmdInfo>. The CmdInfo is an enum that defines the different types of information returned by git operations. These operations can execute in parallel and the result can be combined at the end to make a decission before opening a merge request.

All public functions take a [Runner] as a parameter and return a Result<CmdInfo>.

Structs§

  • Repo represents a local git repository

Functions§