pub struct BranchManager {
pub repo_path: PathBuf,
pub naming_strategy: BranchNamingStrategy,
pub auto_cleanup: bool,
pub max_branch_lifetime_days: u32,
}
Expand description
Branch management system
Fields§
§repo_path: PathBuf
Current repository path
naming_strategy: BranchNamingStrategy
Branch naming strategy
auto_cleanup: bool
Automatic cleanup of session branches
max_branch_lifetime_days: u32
Maximum branch lifetime in days
Implementations§
Trait Implementations§
Source§impl Clone for BranchManager
impl Clone for BranchManager
Source§fn clone(&self) -> BranchManager
fn clone(&self) -> BranchManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BranchManager
impl RefUnwindSafe for BranchManager
impl Send for BranchManager
impl Sync for BranchManager
impl Unpin for BranchManager
impl UnwindSafe for BranchManager
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