pub enum Action {
Keep,
Write,
Record,
Untrack,
Remove,
Merge,
Conflict,
}Expand description
What committing does to one path.
Variants§
Keep
Nothing.
Write
Write the profile’s bytes and record them.
Record
Record the profile’s bytes as the base; leave the file.
Untrack
Stop tracking it, and leave the file: no layer provides it any more, and it is not as devset recorded it, or it became the target’s when written.
Remove
Delete the file, or take the part out of it: no layer provides it any more, and it is as devset recorded it.
Merge
Write the merge of local edits and the profile’s new bytes, and record the latter.
Conflict
Leave the file; the merge, with markers, waits in .devset/conflicts/.
Implementations§
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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.