pub struct FsEntry {
pub relative_path: String,
pub kind: FsKind,
pub mode: u32,
}Expand description
One tree-shape fact: this path is a directory / has this mode.
Fields§
§relative_path: StringRelative to the archive root, derived exactly as the chunk index’s
relative_path is (strip_prefix(root)), so the two name the same tree.
kind: FsKind§mode: u32Unix permission bits (mode & 0o7777). 0 means “not recorded” — what a
non-unix writer produces — and is skipped on restore rather than applied.
Trait Implementations§
impl Eq for FsEntry
impl StructuralPartialEq for FsEntry
Auto Trait Implementations§
impl Freeze for FsEntry
impl RefUnwindSafe for FsEntry
impl Send for FsEntry
impl Sync for FsEntry
impl Unpin for FsEntry
impl UnsafeUnpin for FsEntry
impl UnwindSafe for FsEntry
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.