pub struct MiningOptions {
pub since_days: u64,
pub max_files_per_commit: usize,
pub branch: Option<String>,
}Expand description
Options for history mining.
§Examples
use argus_gitpulse::mining::MiningOptions;
let opts = MiningOptions::default();
assert_eq!(opts.since_days, 180);
assert_eq!(opts.max_files_per_commit, 25);Fields§
§since_days: u64Only include commits from the last N days (default: 180).
max_files_per_commit: usizeSkip commits touching more files than this (default: 25).
branch: Option<String>Branch to walk (default: HEAD).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MiningOptions
impl RefUnwindSafe for MiningOptions
impl Send for MiningOptions
impl Sync for MiningOptions
impl Unpin for MiningOptions
impl UnsafeUnpin for MiningOptions
impl UnwindSafe for MiningOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more