pub struct FileChange {
pub path: String,
pub kind: ChangeKind,
pub script: bool,
}Expand description
One file that differs between the store copy and the source.
Fields§
§path: String§kind: ChangeKind§script: boolAn added or modified file that looks executable (a script or
binary by extension, or text starting with #!): highlighted in
the update review (#24).
Trait Implementations§
Source§impl Clone for FileChange
impl Clone for FileChange
Source§impl Debug for FileChange
impl Debug for FileChange
impl Eq for FileChange
Source§impl PartialEq for FileChange
impl PartialEq for FileChange
impl StructuralPartialEq for FileChange
Auto Trait Implementations§
impl Forget for FileChange
impl Freeze for FileChange
impl Move for FileChange
impl RefUnwindSafe for FileChange
impl Send for FileChangewhere
RawVecInner: Send,
impl Sync for FileChangewhere
RawVecInner: Sync,
impl Unpin for FileChange
impl UnsafeUnpin for FileChange
impl UnwindSafe for FileChangewhere
RawVecInner: UnwindSafe,
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.