[−][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 Repo
s..
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
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,