pub(crate) struct IgnoreMutationReport {
pub(crate) config_path: String,
pub(crate) gitignore_path: String,
pub(crate) gitignore_present: bool,
pub(crate) action: String,
pub(crate) kind: String,
pub(crate) value: String,
pub(crate) changed: bool,
pub(crate) gitignore_mode: String,
pub(crate) manual_layer_order: String,
pub(crate) exclude_dir_names: Vec<String>,
pub(crate) exclude_path_prefixes: Vec<String>,
}Expand description
Result of adding or removing a manual ProjectAtlas ignore entry.
Fields§
§config_path: StringConfig file that was edited.
gitignore_path: String.gitignore file that the scanner will honor when it exists.
gitignore_present: boolWhether a .gitignore file currently exists at the project root.
action: StringMutation action.
kind: StringIgnore kind that was targeted, or any for a broad remove.
value: StringNormalized ignore value.
changed: boolWhether the config file changed.
gitignore_mode: StringScanner behavior for .gitignore.
manual_layer_order: StringOrder of the manual ProjectAtlas ignore layer.
exclude_dir_names: Vec<String>Effective directory-name excludes after the mutation.
exclude_path_prefixes: Vec<String>Effective repository-relative path-prefix excludes after the mutation.
Trait Implementations§
Source§impl Debug for IgnoreMutationReport
impl Debug for IgnoreMutationReport
Auto Trait Implementations§
impl Freeze for IgnoreMutationReport
impl RefUnwindSafe for IgnoreMutationReport
impl Send for IgnoreMutationReport
impl Sync for IgnoreMutationReport
impl Unpin for IgnoreMutationReport
impl UnwindSafe for IgnoreMutationReport
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more