pub struct IgnoreFiles;Expand description
Entry point for building and generating ignore files.
Implementations§
Source§impl IgnoreFiles
impl IgnoreFiles
Sourcepub fn builder() -> IgnoreFilesBuilder
pub fn builder() -> IgnoreFilesBuilder
Create a new builder for generating ignore files.
§Example
use cuenv_ignore::{IgnoreFile, IgnoreFiles};
let result = IgnoreFiles::builder()
.directory(".")
.file(IgnoreFile::new("git").pattern("*.log"))
.generate()?;Auto Trait Implementations§
impl Freeze for IgnoreFiles
impl RefUnwindSafe for IgnoreFiles
impl Send for IgnoreFiles
impl Sync for IgnoreFiles
impl Unpin for IgnoreFiles
impl UnsafeUnpin for IgnoreFiles
impl UnwindSafe for IgnoreFiles
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