pub struct MigratedLink {
pub path: PathBuf,
pub original_target: PathBuf,
pub written_target: PathBuf,
pub rewritten: bool,
}Expand description
A symlink recreated by a link-preserving migration.
Fields§
§path: PathBufPath of the link relative to the migrated tree.
original_target: PathBufThe link’s target text in the old tree, exactly as read_link returned it.
written_target: PathBufThe target text written to the new link.
rewritten: boolTrue when a relative link leaving the tree was rewritten to an absolute path to its original target.
Trait Implementations§
Source§impl Clone for MigratedLink
impl Clone for MigratedLink
Source§impl Debug for MigratedLink
impl Debug for MigratedLink
impl Eq for MigratedLink
Source§impl PartialEq for MigratedLink
impl PartialEq for MigratedLink
impl StructuralPartialEq for MigratedLink
Auto Trait Implementations§
impl Freeze for MigratedLink
impl RefUnwindSafe for MigratedLink
impl Send for MigratedLink
impl Sync for MigratedLink
impl Unpin for MigratedLink
impl UnsafeUnpin for MigratedLink
impl UnwindSafe for MigratedLink
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