pub struct IgnoreConfig {
pub tool: String,
pub patterns: Vec<String>,
pub filename: Option<String>,
}Expand description
Configuration for generating a single ignore file.
Fields§
§tool: StringTool name (e.g., “git”, “docker”, “npm”).
Used to generate the filename as .{tool}ignore unless overridden.
patterns: Vec<String>List of patterns to include in the ignore file.
filename: Option<String>Optional filename override. If None, defaults to .{tool}ignore.
Trait Implementations§
Source§impl Clone for IgnoreConfig
impl Clone for IgnoreConfig
Source§fn clone(&self) -> IgnoreConfig
fn clone(&self) -> IgnoreConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IgnoreConfig
impl RefUnwindSafe for IgnoreConfig
impl Send for IgnoreConfig
impl Sync for IgnoreConfig
impl Unpin for IgnoreConfig
impl UnwindSafe for IgnoreConfig
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