pub enum ConfigFixPlan {
Edit {
config_path: PathBuf,
},
BlockedMonorepo {
workspace_root: PathBuf,
},
BlockedNoCreate {
target: PathBuf,
},
Create {
target: PathBuf,
},
}Expand description
Classification of whether fallow can apply config edits at root.
Variants§
Edit
A fallow config file exists; append entries in place.
BlockedMonorepo
No fallow config exists, but a workspace marker sits above root,
so creating one inside this subpackage would fragment the monorepo.
BlockedNoCreate
No fallow config exists and config creation was disabled.
Create
No fallow config exists; the writer can create one at target.
Trait Implementations§
Source§impl Clone for ConfigFixPlan
impl Clone for ConfigFixPlan
Source§impl Debug for ConfigFixPlan
impl Debug for ConfigFixPlan
impl Eq for ConfigFixPlan
Source§impl PartialEq for ConfigFixPlan
impl PartialEq for ConfigFixPlan
impl StructuralPartialEq for ConfigFixPlan
Auto Trait Implementations§
impl Freeze for ConfigFixPlan
impl RefUnwindSafe for ConfigFixPlan
impl Send for ConfigFixPlan
impl Sync for ConfigFixPlan
impl Unpin for ConfigFixPlan
impl UnsafeUnpin for ConfigFixPlan
impl UnwindSafe for ConfigFixPlan
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.