pub struct GitFilter;Expand description
Git-specific noise filter. Strips transfer stats, pack compression, and delta resolution lines that carry zero information for an LLM.
Preserves: branch names, commit hashes, conflict markers, error messages, diff output, status output.
Trait Implementations§
Source§impl Filter for GitFilter
impl Filter for GitFilter
Source§fn filter_line(&self, line: &str) -> FilterResult
fn filter_line(&self, line: &str) -> FilterResult
Filter a single line. Return
Uncertain when unsure.Auto Trait Implementations§
impl Freeze for GitFilter
impl RefUnwindSafe for GitFilter
impl Send for GitFilter
impl Sync for GitFilter
impl Unpin for GitFilter
impl UnsafeUnpin for GitFilter
impl UnwindSafe for GitFilter
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