Struct gitoxide_core::hours::Context
source · pub struct Context<W> {
pub ignore_bots: bool,
pub show_pii: bool,
pub file_stats: bool,
pub line_stats: bool,
pub threads: Option<usize>,
pub omit_unify_identities: bool,
pub out: W,
}
Available on crate feature
estimate-hours
only.Expand description
Additional configuration for the hours estimation functionality.
Fields
ignore_bots: bool
Ignore github bots which match the [bot]
search string.
show_pii: bool
Show personally identifiable information before the summary. Includes names and email addresses.
file_stats: bool
Collect how many files have been added, removed and modified (without rename tracking).
line_stats: bool
Collect how many lines in files have been added, removed and modified (without rename tracking).
threads: Option<usize>
The amount of threads to use. If unset, use all cores, if 0 use al physical cores.
omit_unify_identities: bool
Omit unifying identities by name and email which can lead to the same author appear multiple times due to using different names or email addresses.
out: W
Where to write our output to
Auto Trait Implementations
impl<W> RefUnwindSafe for Context<W>where
W: RefUnwindSafe,
impl<W> Send for Context<W>where
W: Send,
impl<W> Sync for Context<W>where
W: Sync,
impl<W> Unpin for Context<W>where
W: Unpin,
impl<W> UnwindSafe for Context<W>where
W: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more