pub struct Stats {
pub cloned: usize,
pub cloned_directories: usize,
pub skipped: usize,
pub checked_out_by_git: usize,
pub source: Option<PathBuf>,
pub clone_backend: CloneBackend,
pub fell_back: bool,
pub fallback_reason: Option<String>,
}Expand description
What a single git sprout add did.
Fields§
§cloned: usizePaths materialised by a block clone.
cloned_directories: usizeSubtrees cloned in a single call rather than file by file.
skipped: usizePaths the plan considered and rejected, so git had to write them.
checked_out_by_git: usizePaths in the target tree that git checked out itself. Zero when no plan ran.
source: Option<PathBuf>The checkout the clones came from.
clone_backend: CloneBackend§fell_back: boolTrue when the run produced its result through plain git worktree add.
fallback_reason: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Stats
impl UnwindSafe for Stats
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