Skip to main content

run

Function run 

Source
pub fn run(repo: &Repo, opts: &Options) -> Result<String>
Expand description

Run the report and return its rendered text: the stats table followed by the optional reviews table. Returns an empty string when there is nothing to show.

§Errors

Returns an error if the revision range cannot be resolved, a date or author pattern is invalid, or a commit’s diff cannot be read.