pub enum CloneMode {
LocalHeddle {
remote_path: PathBuf,
},
LocalGitOverlay {
remote_path: PathBuf,
},
GitOverlayUrl,
NetworkHosted {
recursive: bool,
},
}Expand description
Execution mode selected by plan_clone.
Variants§
LocalHeddle
Local Heddle repository (.heddle present or non-git local path).
LocalGitOverlay
Local Git repository without Heddle metadata → git-overlay clone.
GitOverlayUrl
Unparsed remote that looks like a Git URL (https://, git@, …).
NetworkHosted
Hosted/network clone; recursive selects monorepo vs single-spool.
Implementations§
Source§impl CloneMode
impl CloneMode
Sourcepub fn kind_label(&self) -> &'static str
pub fn kind_label(&self) -> &'static str
Short label for unsupported-option error context.
pub fn is_network(&self) -> bool
pub fn is_git_overlay(&self) -> bool
Trait Implementations§
impl Eq for CloneMode
impl StructuralPartialEq for CloneMode
Auto Trait Implementations§
impl Freeze for CloneMode
impl RefUnwindSafe for CloneMode
impl Send for CloneMode
impl Sync for CloneMode
impl Unpin for CloneMode
impl UnsafeUnpin for CloneMode
impl UnwindSafe for CloneMode
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