pub struct Gc<'a> {
pub config_path: &'a Path,
pub prune_expiry_date: Option<&'a str>,
pub auto: bool,
}
Expand description
Git Garbage Collection
Fields§
§config_path: &'a Path
Path to Lorry’s git config
prune_expiry_date: Option<&'a str>
Earliest date to prune temporary objects from
auto: bool
If the –auto flag should be enabled, typically should be false since if it is enabled prune is unlikely to be ran frequently.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Gc<'a>
impl<'a> RefUnwindSafe for Gc<'a>
impl<'a> Send for Gc<'a>
impl<'a> Sync for Gc<'a>
impl<'a> Unpin for Gc<'a>
impl<'a> UnwindSafe for Gc<'a>
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