pub enum TargetPathClassification {
OnTarget,
TranslatesTo {
target_path: PathBuf,
translation: TranslationSource,
},
MissingFromTarget,
UnsafePath,
DeletedByPatch,
}Variants§
OnTarget
Path appears on the target tree as-is. No action.
TranslatesTo
Path is absent on the target tree but a translation rewrites it to a path that does appear there.
MissingFromTarget
Path is absent on the target tree and no translation matches.
UnsafePath
Path was rejected at normalisation time (contained .. or
other unsafe shape). Skip without flagging.
DeletedByPatch
Patch deletes this path; target-tree existence is irrelevant.
Trait Implementations§
Source§impl Clone for TargetPathClassification
impl Clone for TargetPathClassification
Source§impl Debug for TargetPathClassification
impl Debug for TargetPathClassification
impl Eq for TargetPathClassification
Source§impl PartialEq for TargetPathClassification
impl PartialEq for TargetPathClassification
impl StructuralPartialEq for TargetPathClassification
Auto Trait Implementations§
impl Freeze for TargetPathClassification
impl RefUnwindSafe for TargetPathClassification
impl Send for TargetPathClassification
impl Sync for TargetPathClassification
impl Unpin for TargetPathClassification
impl UnsafeUnpin for TargetPathClassification
impl UnwindSafe for TargetPathClassification
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