pub struct WalkedFile {
pub path: RepoPath,
pub root: Option<usize>,
pub kind: FileKind,
pub stat: Stat,
}Expand description
A WalkedFile is one file that the walk found.
Fields§
§path: RepoPathThe path of the file.
root: Option<usize>The index of the knowledge root that the file lies under, if any.
kind: FileKindThe kind of the file.
stat: StatThe length and modification time of the file, from the walk’s stat.
Trait Implementations§
Source§impl Clone for WalkedFile
impl Clone for WalkedFile
Source§impl Debug for WalkedFile
impl Debug for WalkedFile
impl Eq for WalkedFile
Source§impl PartialEq for WalkedFile
impl PartialEq for WalkedFile
impl StructuralPartialEq for WalkedFile
Auto Trait Implementations§
impl Forget for WalkedFile
impl Freeze for WalkedFile
impl Move for WalkedFile
impl RefUnwindSafe for WalkedFile
impl Send for WalkedFile
impl Sync for WalkedFile
impl Unpin for WalkedFile
impl UnsafeUnpin for WalkedFile
impl UnwindSafe for WalkedFile
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
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.