[−][src]Struct git_global::Report
A report containing the results of a git-global subcommand.
Contains overall messages and per-repo messages.
Methods
impl Report[src]
pub fn new(repos: &Vec<Repo>) -> Report[src]
Create a new Report for the given Repos..
pub fn pad_repo_output(&mut self)[src]
Declares the desire to separate output when showing per-repo messages.
Sets flag that indicates a blank line should be inserted between messages for different repos when printing per-repo output.
pub fn add_message(&mut self, message: String)[src]
Adds a message that applies to the overall operation.
pub fn add_repo_message(&mut self, repo: &Repo, data_line: String)[src]
Adds a message that applies to the given repo.
pub fn print<W: Write>(&self, writer: &mut W)[src]
Writes all result messages to the given writer, as text.
pub fn print_json<W: Write>(&self, writer: &mut W)[src]
Writes all result messages to the given writer, as JSON.
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,