pub enum ExplicitPathPlacement {
UnderHeddleDir,
OutsideRepo,
InsideTrackedTree,
}Expand description
Where an explicit --path sits relative to the repository.
Paths must already be normalized (absolute, .. resolved) by the caller.
Variants§
UnderHeddleDir
Under the repo’s .heddle/ metadata tree (managed checkouts) — allowed.
OutsideRepo
Outside the repository entirely — allowed.
InsideTrackedTree
Inside the tracked working tree but not under .heddle/ — refused on
git-overlay (would show up as nested unsaved work).
Trait Implementations§
Source§impl Clone for ExplicitPathPlacement
impl Clone for ExplicitPathPlacement
Source§fn clone(&self) -> ExplicitPathPlacement
fn clone(&self) -> ExplicitPathPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExplicitPathPlacement
Source§impl Debug for ExplicitPathPlacement
impl Debug for ExplicitPathPlacement
impl Eq for ExplicitPathPlacement
Source§impl PartialEq for ExplicitPathPlacement
impl PartialEq for ExplicitPathPlacement
impl StructuralPartialEq for ExplicitPathPlacement
Auto Trait Implementations§
impl Freeze for ExplicitPathPlacement
impl RefUnwindSafe for ExplicitPathPlacement
impl Send for ExplicitPathPlacement
impl Sync for ExplicitPathPlacement
impl Unpin for ExplicitPathPlacement
impl UnsafeUnpin for ExplicitPathPlacement
impl UnwindSafe for ExplicitPathPlacement
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