pub struct PathOutsideRepository {
pub elt: String,
pub path: String,
pub work_tree: PathBuf,
}Expand description
Resolved path lies outside the repository work tree (Git prefix_path_gently failure).
Fields§
§elt: StringUser-facing pathspec token (argv element).
path: StringResolved absolute path outside the work tree.
work_tree: PathBufCanonical work tree root.
Trait Implementations§
Source§impl Clone for PathOutsideRepository
impl Clone for PathOutsideRepository
Source§impl Debug for PathOutsideRepository
impl Debug for PathOutsideRepository
Source§impl Display for PathOutsideRepository
impl Display for PathOutsideRepository
Source§impl From<PathOutsideRepository> for PathspecResolveError
impl From<PathOutsideRepository> for PathspecResolveError
Source§fn from(outside: PathOutsideRepository) -> Self
fn from(outside: PathOutsideRepository) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PathOutsideRepository
impl RefUnwindSafe for PathOutsideRepository
impl Send for PathOutsideRepository
impl Sync for PathOutsideRepository
impl Unpin for PathOutsideRepository
impl UnsafeUnpin for PathOutsideRepository
impl UnwindSafe for PathOutsideRepository
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